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

<a-table> The console will report a warning when the number of data items in the operation page is switched back and forth #5029

Closed
1 task
ll60 opened this issue Dec 14, 2021 · 1 comment
Labels

Comments

@ll60
Copy link

ll60 commented Dec 14, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-alpha.15

Environment

操作系统: macOS12.0.1、浏览器: Chrome 版本 96.0.4664.55(正式版本) (arm64)、VUE版本: 3.2.16

Reproduction link

Edit on CodeSandbox

Steps to reproduce

进入页面 -> 选择【每页20条】后 -> 选择第二页 ->再选择【每页10条】,控制台会出现: Warning: [ant-design-vue: Table] dataSource length is less than pagination.total but large than pagination.pageSize. Please make sure your config correct data with async mode.

2021-12-14.10.33.15.mov

What is expected?

期待正常显示,不报错

What is actually happening?

控制台出现了错误:
Warning: [ant-design-vue: Table] dataSource length is less than pagination.total but large than pagination.pageSize. Please make sure your config correct data with async mode.

@github-actions github-actions bot changed the title <a-table>操作分页数据条数来回切换时,控制台会报warning <a-table> The console will report a warning when the number of data items in the operation page is switched back and forth Dec 14, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant