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/history.md CHANGED
@@ -111,3 +111,5 @@ mooho-base-admin-plus@2.5.14 - 修复上一版本的bug
111
111
  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
+ mooho-base-admin-plus@2.5.18 - 修复0条数据页码错误
115
+ mooho-base-admin-plus@2.5.19 - 修复0条数据页码错误
@@ -40598,7 +40598,7 @@ const _sfc_main$n = {
40598
40598
  });
40599
40599
  o++;
40600
40600
  }
40601
- this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size)), this.checkCrossPage || this.tableView.checkCrossPage ? this.data.forEach((o) => {
40601
+ this.total == 0 ? this.current = 1 : this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size)), this.checkCrossPage || this.tableView.checkCrossPage ? this.data.forEach((o) => {
40602
40602
  o._checked = this.selectedData.some((s) => o.id === s.id);
40603
40603
  }) : this.selectedData = [];
40604
40604
  }
@@ -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-6fc88d75"]]), __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-01ddfb93"]]), __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 = {