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
feat: 🔢 improve default pagination switch experience #22711
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 643cf1e:
|
用例挂了 |
\rebase |
/rebase |
497ba37
to
837b5f3
Compare
Codecov Report
@@ Coverage Diff @@
## feature #22711 +/- ##
========================================
Coverage 98.07% 98.07%
========================================
Files 360 360
Lines 7227 7227
Branches 1985 1986 +1
========================================
Hits 7088 7088
Misses 139 139 Continue to review full report at Codecov.
|
再调整一些细节ing |
👌 那我再等等 |
可以并行起来,估计我六点前能搞完。 |
done |
🤔 This is a ...
🔗 Related issue link
close #18201
💡 Background and solution
total
大于50
时,默认显示切换页数选择器。优化大数据下的默认分页体验。10,20,30,40
修改为10,20,50,100
。📝 Changelog
total>50
.- Unify Pagination items to fixed length.
- change default size options to
10, 20, 50, 100
.total>50
时默认显示切换页数选择器。- 统一 Pagination 十页以内的页码个数使其宽度更统一。
- Pagination 调整默认页数选项为
10, 20, 50, 100
。☑️ Self Check before Merge