Commit 78ec0989 authored by openks's avatar openks Committed by 杨奕

pagination:fix bug Pagination page number display problem

parent 2bba39ce
......@@ -96,11 +96,11 @@
let showNextMore = false;
if (pageCount > pagerCount) {
if (currentPage > pagerCount - 2) {
if (currentPage > pagerCount - 3) {
showPrevMore = true;
}
if (currentPage < pageCount - 2) {
if (currentPage < pageCount - 3) {
showNextMore = true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment