mooho-base-admin-plus 2.5.17 → 2.5.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1306,7 +1306,9 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
// 如果超出页码,设为最后一页
|
|
1309
|
-
if (this.
|
|
1309
|
+
if (this.total == 0) {
|
|
1310
|
+
this.current = 1;
|
|
1311
|
+
} else if (this.current > Math.ceil(this.total / this.size)) {
|
|
1310
1312
|
this.current = Math.ceil(this.total / this.size);
|
|
1311
1313
|
}
|
|
1312
1314
|
|