fix(layout): paginator number error
This commit is contained in:
parent
1a682abd64
commit
dd3ee46b17
|
@ -13,7 +13,7 @@ function pagination(c, m) {
|
|||
l;
|
||||
|
||||
for (let i = 1; i <= last; i++) {
|
||||
if (i == 1 || i == last || i >= left && i < right) {
|
||||
if (i == 1 || i == last || (i >= left && i < right)) {
|
||||
range.push(i);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue