ant-design-vue
ant-design-vue copied to clipboard
【pagination组件】showSizeChanger默认行为太隐蔽,容易导致出现bug
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.3
Environment
vue2,vue3
Reproduction link
Steps to reproduce
- 固定page size
- 当total大于50时出现size changer,
- 切换size changer页面大小, 会导致无法切换。由于是需要固定page size的,所以预期内不该有size changer这个东西!
What is expected?
取消pagination组件的showSizeChanger默认行为(当 total 大于 50 时默认为 true)
What is actually happening?
当业务方需要固定pageSize时,showSizeChanger的默认行为(当 total 大于 50 时默认为 true)会导致出现bug,该行为太过隐蔽很难自测发现。在自测时若数量没有验到50条以上,根本发现不了会出现size changer这东西。
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days