mooho-base-admin-plus 2.5.29 → 2.5.30

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
@@ -123,3 +123,4 @@ mooho-base-admin-plus@2.5.26 - 修复上一版本的bug
123
123
  mooho-base-admin-plus@2.5.27 - 修复升级后出现的警告
124
124
  mooho-base-admin-plus@2.5.28 - form增加tables属性
125
125
  mooho-base-admin-plus@2.5.29 - 修复升级后出现的警告
126
+ mooho-base-admin-plus@2.5.30 - 修复表格勾选后修改数据勾选消失的bug
@@ -41207,7 +41207,7 @@ const _sfc_main$n = {
41207
41207
  onSelectionChange(r) {
41208
41208
  this.getDataWithChildren(this.data).forEach((o) => {
41209
41209
  const s = this.selectedData.findIndex((l) => l.id == o.id);
41210
- r.some((l) => l.id == o.id) ? s == -1 && this.selectedData.push(o) : s != -1 && this.selectedData.splice(s, 1);
41210
+ r.some((l) => l.id == o.id) ? s == -1 && (o._checked = !0, this.selectedData.push(o)) : s != -1 && (o._checked = !1, this.selectedData.splice(s, 1));
41211
41211
  }), this.$emit("on-select-change");
41212
41212
  },
41213
41213
  // 键盘事件
@@ -42256,7 +42256,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
42256
42256
  ], 2)
42257
42257
  ], 2);
42258
42258
  }
42259
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-15153cfc"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42259
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-5d63499f"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42260
42260
  __proto__: null,
42261
42261
  default: viewTable
42262
42262
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {