-
Notifications
You must be signed in to change notification settings - Fork 482
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
[t-table] 切换分页,数据重复 #4746
Comments
👋 @JinPing5306,感谢给 TDesign 提出了 issue。 |
<t-table
} |
tableColumns tableData 这两个字段提供一下 |
<t-button variant="text" theme="primary" onClick={() => detialsShow(row)}> <t-button variant="text" theme="primary" onClick={() => editClickDialog(row)}> <t-button variant="text" theme="danger" onClick={() => delFucn(row)}> ); |
|
@page-change="onPageChange" const pagination =ref({ current: 1, pageSize: 20, total: 0, }); |
解决了,谢谢大哥 |
@china-chaim 是说reactive的非受控方法 会出现这个issue描述的问题? |
不确定,非受控方法除了这种情况ref的之前也有遇到过,后来全换了受控方法,效果实现后没仔细查看具体原因。还有table tree 默认展开也是无效,文档示例没问题,换成接口获取数据就出问题了。查了下资料,可能是响应式数据更新后,参数没渲染成功 |
tdesign-vue-next 版本
1.10.3
重现链接
No response
重现步骤
第一页切换到下一页,数据重复;
期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: