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

[enhanced-table] props disableDataPage 无效,未进行透传 #4780

Open
lxzlx624 opened this issue Nov 27, 2024 · 1 comment
Open

[enhanced-table] props disableDataPage 无效,未进行透传 #4780

lxzlx624 opened this issue Nov 27, 2024 · 1 comment
Labels
to be published to be published

Comments

@lxzlx624
Copy link

tdesign-vue-next 版本

1.10.4

重现链接

No response

重现步骤

<script setup> import { ref, onMounted } from "vue"; const pagination = ref({ current: 1, pageSize: 5, total: 10, }); const data = ref([]); const columns = ref([]); const init = () => { for (let i = 0; i < 10; i++) { data.value.push({ id: i, name: `name${i}`, }); } columns.value = [ { title: "ID", colKey: "id", }, { title: "Name", colKey: "name", }, ]; }; onMounted(() => { init(); }); </script> <style> #app { font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } </style>

期望结果

本地分页关闭,显示10条数据
image

实际结果

disableDataPage props未生效,还是进行了本地分页。看代码是只根据了props.tree去判断

image
image

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published to be published
Projects
None yet
Development

No branches or pull requests

2 participants