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

fix: 修复页码显示不正确的bug #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SuperZ1999
Copy link

目前的页码显示不正确,比如有三页,如果当前页面在第二页,显示的效果为:1 ... 1 2 3 ... 3

目前的页码显示不正确,比如有三页,如果当前页面在第二页,显示的效果为:1 ... 1 2 3 ... 3
@xyming108
Copy link
Owner

xyming108 commented Sep 30, 2022 via email

@xyming108
Copy link
Owner

没有问题的,我的想法是总共4个按钮,第一个是首页,最后一个是末页,中间的就是上一页和下一页。

@SuperZ1999
Copy link
Author

那是不是上一页和首页如果是同一页的话,可以合并这两个按钮呢

@xyming108
Copy link
Owner

是的,有考虑到这一点,本来打算把他的名字改成首页和末页,但是为了统一就没有去掉,也用页码表示,一直保存有这两个按钮,你自己用的话可以稍微修改一下,我这边考虑一下要不要改

@SuperZ1999
Copy link
Author

好的明白了,谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants