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

[vue] 28. vue 中对象更改检测的注意事项 #419

Open
qiilee opened this issue Oct 8, 2019 · 1 comment
Open

[vue] 28. vue 中对象更改检测的注意事项 #419

qiilee opened this issue Oct 8, 2019 · 1 comment
Labels

Comments

@qiilee
Copy link
Member

qiilee commented Oct 8, 2019

No description provided.

@qiilee qiilee added the VUE label Oct 8, 2019
@zzdxsongjinlei
Copy link

因为js的限制,vue不是动态监测对象属性的添加或者删除,必须通过vue.set的方法,才可以添加响应式的属性,添加多个属性使用的方法是Object.assign()方法

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

No branches or pull requests

2 participants