Skip to content

他的作用是什么<QuestionnaireModel>res.json().data,就是这个<QuestionnaireModel> #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zcxzmzy opened this issue Aug 22, 2017 · 1 comment

Comments

@zcxzmzy
Copy link

zcxzmzy commented Aug 22, 2017

getQuestionnaireById(id: string) {
return this.http.get(SITE_HOST_URL + 'questionnaire/' + id)
.map(res => res.json().data)
.catch(this.handleError);
}

@zcxzmzy
Copy link
Author

zcxzmzy commented Aug 22, 2017

我把它去掉一点影响都没有啊,求大神讲解这个作用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant