-
Notifications
You must be signed in to change notification settings - Fork 352
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
[Table] EnhancedTable 同一行key相同的数据更新后,视图不更新 #2526
Comments
👋 @xinller,感谢给 TDesign 提出了 issue。 |
从当前描述内容评估,无法处理问题。 请提供可复现问题的代码,我们再处理。 |
uyarn
changed the title
[增强型表格] 表格同一行key相同的数据更新后,视图不更新
[Table] EnhancedTable 同一行key相同的数据更新后,视图不更新
Jun 23, 2023
|
请问这个问题有解决了吗 |
深度监听是有代价的,要给全部对象的全部属性的全部层级添加监听,消耗较大,故而组件内部不会做深度监听。 数据更新官网有单独的方法,请仔细阅读文档。(更新数据,不是通过调整 data,而是执行组件实例方法 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-vue 版本
1.3.4
重现链接
No response
重现步骤
用EnhancedTable时,传入data属性,当手动修改data数组中某一行数据时,视图不更新,查看vue-devtool发现,增强型表格内嵌套了primaryTable,在primaryTable中发现传入的data数据未更新,应该是主表格中未进行data的深度监听导致
期望结果
No response
实际结果
No response
框架版本
2.6.14
浏览器版本
No response
系统版本
No response
Node版本
14.19.0
补充说明
No response
The text was updated successfully, but these errors were encountered: