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

可不可以提供一个修改单条数据的方法 #49

Closed
Pluto1219 opened this issue Nov 23, 2017 · 3 comments
Closed

可不可以提供一个修改单条数据的方法 #49

Pluto1219 opened this issue Nov 23, 2017 · 3 comments

Comments

@Pluto1219
Copy link

比如tableData里面某一个对象发生了变化后、可以调用某个方法在table里面把这个对象及时更新掉

@huangshuwei
Copy link
Collaborator

tableData 是响应式的,修改后会立即看到dom改变。

修改某一条数据使用 this.$set() 参考 vue 官网:https://vuefe.cn/v2/api/#Vue-set

@Pluto1219
Copy link
Author

@huangshuwei 好的、谢谢

@huangshuwei
Copy link
Collaborator

@qcdys
你也有这个问题?#47

刚才我可能不小心把你的评论删掉了

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