mooho-base-admin-plus 2.5.19 → 2.5.20

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/history.md CHANGED
@@ -112,4 +112,5 @@ mooho-base-admin-plus@2.5.15 - 修复上一版本的bug
112
112
  mooho-base-admin-plus@2.5.16 - 修复上一版本的bug
113
113
  mooho-base-admin-plus@2.5.17 - 增加表格导出记录数上限和是否禁止自动加载设置
114
114
  mooho-base-admin-plus@2.5.18 - 修复0条数据页码错误
115
- mooho-base-admin-plus@2.5.19 - 修复0条数据页码错误
115
+ mooho-base-admin-plus@2.5.19 - 修复上一版本的bug
116
+ mooho-base-admin-plus@2.5.20 - 修复上一版本的bug
@@ -40562,7 +40562,7 @@ const _sfc_main$n = {
40562
40562
  if (!(!this.inited && (await this.init(this.viewCode), !this.inited))) {
40563
40563
  if (typeof this.beforeLoadData == "function" && this.beforeLoadData(), r && (this.staticData = this.copy(r)), this.current <= 0 && (this.current = 1), this.static) {
40564
40564
  let a = this.getFilterResult();
40565
- this.total = a.length, this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size));
40565
+ this.total = a.length, this.total == 0 ? this.current = 1 : this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size));
40566
40566
  let o = (this.current - 1) * this.size;
40567
40567
  this.data = o + this.size >= a.length ? a.slice(o, a.length) : a.slice(o, o + this.size);
40568
40568
  } else {
@@ -42019,7 +42019,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
42019
42019
  ], 2)
42020
42020
  ], 2);
42021
42021
  }
42022
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-01ddfb93"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42022
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-fe7cba2c"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42023
42023
  __proto__: null,
42024
42024
  default: viewTable
42025
42025
  }, Symbol.toStringTag, { value: "Module" })), res$1 = "Task", taskApi = {