Tencent / tdesign-vue-next

A Vue3.x UI components lib for TDesign.
https://tdesign.tencent.com/vue-next
MIT License
1.43k stars 461 forks source link

[table] 树形表格本地分页 #4576

Open mustars opened 1 week ago

mustars commented 1 week ago

tdesign-vue-next 版本

1.10.1

重现链接

https://tdesign.tencent.com/vue-next/components/table#%E6%A0%91%E5%BD%A2%E7%BB%93%E6%9E%84%E7%9A%84%E8%A1%A8%E6%A0%BC

重现步骤

表格data有多少数据直接会全部显示 如:表格pagination设定每页5条数据,total 为10;data有10条(10条数据为根节点)。最终表格分页器正确,表格内容却把data的数据都显示(10条)而不是5条数据。

期望结果

树形表格实现本地分页

实际结果

树形表格本地分页被组件内部禁用。 源码:enhanced-table.tsx image

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

github-actions[bot] commented 1 week ago

👋 @mustars,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。