pagination:fix bug Pagination page number display problem

pull/5577/merge
openks 2017-07-14 16:59:50 +08:00 committed by 杨奕
parent 2bba39ce2e
commit 78ec098960
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}