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

希望改进的 #16

Closed
zjy2931 opened this issue Sep 28, 2018 · 1 comment
Closed

希望改进的 #16

zjy2931 opened this issue Sep 28, 2018 · 1 comment

Comments

@zjy2931
Copy link

zjy2931 commented Sep 28, 2018

希望再页面中可以 用this.data.my_info = xxx 的方式修改 而不是 this.store.data.myinfo
this.update == store.update ?在页面中使用哪个好 还是一样的

@dntzhang
Copy link
Collaborator

this.data.xx = xxx 做不到,小程序限制了。
store.update 用来用在没有组件或页面的 JS 中,都一样。没区别。

@zjy2931 zjy2931 closed this as completed Sep 29, 2018
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

2 participants