mirror of https://github.com/ElemeFE/element
pagination:fix bug Pagination page number display problem
parent
2bba39ce2e
commit
78ec098960
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue