ant-design-vue-pro icon indicating copy to clipboard operation
ant-design-vue-pro copied to clipboard

分页器bug

Open licheng58 opened this issue 3 years ago • 6 comments

**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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.

licheng58 avatar Jul 18 '22 01:07 licheng58

你是指 s-table 吗

sendya avatar Jul 19 '22 02:07 sendya

是的

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: 言肆 @.> 发送时间: 2022年7月19日 10:49 收件人: vueComponent/ant-design-vue-pro @.> 抄送: licheng58 @.>, Author @.> 主题: Re: [vueComponent/ant-design-vue-pro] 分页器bug (Issue #1366)

licheng58 avatar Jul 19 '22 02:07 licheng58

https://github.com/vueComponent/ant-design-vue-pro/blob/bfdf6ee21d533746c60a124b020240fa43f17965/src/components/Table/index.js#L181

markzyh avatar Jul 19 '22 10:07 markzyh

Uploading image.png… 貌似没有解决bug问题

licheng58 avatar Jul 20 '22 04:07 licheng58

Uploading image.png… 貌似没有解决bug问题

注释里面写了,是基于totalCount和 pageNo * pageSize 的大小来判断是否展示pagination。如果和你的业务逻辑相悖,去掉就好了吧

markzyh avatar Jul 20 '22 05:07 markzyh

好的 谢谢

发自我的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: @.***>

licheng58 avatar Oct 11 '22 09:10 licheng58