Skip to content

feat: 🆕 size changer will be shown when total >= 100 #258

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

Merged
merged 1 commit into from
Mar 29, 2020

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Mar 29, 2020

  • total 大于 100 时,默认显示切换页数选择器。优化大数据下的默认分页体验。
  • 页数选择器的默认选项从 10,20,30,40 修改为 10,25,50,100

@vercel
Copy link

vercel bot commented Mar 29, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click on the icon next to each commit.

@codecov
Copy link

codecov bot commented Mar 29, 2020

Codecov Report

Merging #258 into master will increase coverage by 0.15%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #258      +/-   ##
=========================================
+ Coverage   90.55%   90.7%   +0.15%     
=========================================
  Files           3       3              
  Lines         307     312       +5     
  Branches      107     108       +1     
=========================================
+ Hits          278     283       +5     
  Misses         29      29
Impacted Files Coverage Δ
src/Options.jsx 92.3% <ø> (ø) ⬆️
src/Pagination.jsx 90.43% <100%> (+0.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff396f5...c811ce8. Read the comment docs.

@afc163 afc163 merged commit dd549f5 into master Mar 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the showSizeChanger branch March 29, 2020 06:04
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.

1 participant