-
Notifications
You must be signed in to change notification settings - Fork 351
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] table中rowKey建议增加function 和 string两种类型 #1353
Comments
👋 @luchuanqi,感谢给 TDesign 提出了 issue。 |
|
自己处理下数据吧,不也复杂,就一行代码的事情, |
但是长列表的时候,这个会导致列表重绘。 用户体验有点差 |
长列表的时候是什么时候,如果存在 data 的变化,无论是否 map,都会重绘 |
key不变, 是不会重新渲染的。 其他table组件,都会加上function类型的, 就是回避只update一个数据,整个列表都要重新渲染 |
是开发体验差,还是用户体验差,录个屏我看下有多差 |
如果是 Vue2,我记得是有个方法单独更新的 |
table下面是tree |
下个月安排 |
十分抱歉,时间有限,且有其他的解决方案,暂不支持。 |
这个功能解决了什么问题
rowKey绑定id,当做update操作时,列表不更新。 只能清空data, 然后再次重绘列表
你建议的方案是什么
建议增加function 和 string两种类型
The text was updated successfully, but these errors were encountered: