Skip to content
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

登陆的data #2

Open
ShingLi opened this issue Jul 20, 2018 · 0 comments
Open

登陆的data #2

ShingLi opened this issue Jul 20, 2018 · 0 comments

Comments

@ShingLi
Copy link

ShingLi commented Jul 20, 2018

this.$fetch.api_user.login(this.form)
.then(({data, msg,code}) => {
console.log(data,msg,code)
this.set_user_info({
user: data.identity,
login: true
});
智力有一个问题,这里的data是后端返回的,那么data里面具体是什么样是的数据结构的,发现这里data不正确的话 action 是不会执行的

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