ant-design-vue
ant-design-vue copied to clipboard
BUG:组件Pagination分页 在total为0时 page显示为1并且可以点击 但是传递的参数却为0
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.1.0
Environment
vue3
Reproduction link
https://www.antdv.com/components/pagination-cn
Steps to reproduce
我在使用Pagination时 与搜索相结合 当搜索结果为0 分页显示为1 并且还可以点击 但点击后传递参数为0 并且后端报错
What is expected?
total为0时 应该显示为1 且不可点击 或者可以点击传递参数应该设为1 而非0
What is actually happening?
page应该是通过total算出来 0/size = 0