Skip to content

这个地方要不要map有什么区别呢?去掉map也能得到数据 #15

Description

@zcxzmzy

return new Observable((observer: Observer) => {
this.http.get(this.getUserInfoUrl(CONTACT_URL))
.map(res => res.json().data)
.subscribe(res=>{
observer.next(res);
observer.complete();
});
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions