ant-design-vue-pro
ant-design-vue-pro copied to clipboard
分页器bug
**Describe the bug (描述 Bug)**列表页面 总数据12条 本身再10条情况下是正常的 切换到20、30、40的情况下 分页器消失了
A clear and concise description of what the bug is.
**To Reproduce (重现步骤)**total为12条 本身显示10条每页 切换成20、30、40条每页 这时候分页器消失 Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior(你期待的是什么?) A clear and concise description of what you expected to happen.
Screenshots(截图) If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context(附加信息) Add any other context about the problem here.
你是指 s-table 吗
是的
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: 言肆 @.> 发送时间: 2022年7月19日 10:49 收件人: vueComponent/ant-design-vue-pro @.> 抄送: licheng58 @.>, Author @.> 主题: Re: [vueComponent/ant-design-vue-pro] 分页器bug (Issue #1366)
https://github.com/vueComponent/ant-design-vue-pro/blob/bfdf6ee21d533746c60a124b020240fa43f17965/src/components/Table/index.js#L181
貌似没有解决bug问题
貌似没有解决bug问题
注释里面写了,是基于totalCount和 pageNo * pageSize 的大小来判断是否展示pagination。如果和你的业务逻辑相悖,去掉就好了吧
好的 谢谢
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: markzyh @.> 发送时间: 2022年7月20日 13:50 收件人: vueComponent/ant-design-vue-pro @.> 抄送: licheng58 @.>, Author @.> 主题: Re: [vueComponent/ant-design-vue-pro] 分页器bug (Issue #1366)
貌似没有解决bug问题
注释里面写了,是基于totalCount和 pageNo * pageSize 的大小来判断是否展示pagination。如果和你的业务逻辑相悖,去掉就好了吧
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>