We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.8.0
No response
<t-table :data="data" :columns="columns" rowKey="id" :pagination="pagination"
数据大概这样 const data=[] const pagination = { current:1, pageSize:10, total:0, showJumper: true }
页面中切换每页条数时控制台会报错:custom validator check failed for prop "current". (由于total为0时切换条数导致的) 单独使用pagination组件给他传入total=0不会报错,
Invalid prop: custom validator check failed for prop "current".
found in tpagination
The text was updated successfully, but these errors were encountered:
👋 @xinller,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @chaishi @nined9 @yanxugong @chuyueZhang 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @xinller 。
重现链接: https://codesandbox.io/p/sandbox/tdesign-vue-demo-forked-rpq4ck?file=%2Fsrc%2Fdemo.vue%3A2%2C3-16%2C13
chaishi
Successfully merging a pull request may close this issue.
tdesign-vue 版本
1.8.0
重现链接
No response
重现步骤
<t-table
:data="data"
:columns="columns"
rowKey="id"
:pagination="pagination"
数据大概这样
const data=[]
const pagination = {
current:1,
pageSize:10,
total:0,
showJumper: true
}
页面中切换每页条数时控制台会报错:custom validator check failed for prop "current". (由于total为0时切换条数导致的)
单独使用pagination组件给他传入total=0不会报错,
期望结果
No response
实际结果
Invalid prop: custom validator check failed for prop "current".
found in tpagination
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: