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

父组件app.vue通过ajax请求更新seller的值传给子组件v-header,v-header无法获得更新的seller的值? #66

Open
Eavanzhou1030 opened this issue Feb 24, 2018 · 0 comments

Comments

@Eavanzhou1030
Copy link

created(){
this.$http.get('/api/seller?id=' + this.seller.id).then((response) => {
response = response.body;
if(response.errno === ERR_OK){
this.seller = Object.assign({},this.seller,response.data);
}
});
},

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