mooho-base-admin-plus 2.9.1 → 2.9.3

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
@@ -169,3 +169,4 @@ mooho-base-admin-plus@2.8.25 - 优化表格全屏
169
169
  mooho-base-admin-plus@2.8.26 - 优化表格全屏
170
170
  mooho-base-admin-plus@2.9.0 - 增加密码过期
171
171
  mooho-base-admin-plus@2.9.1 - 解决表格中弹出选择框显示异常,待观察
172
+ mooho-base-admin-plus@2.9.2 - 修复自定义页面无法编辑的bug
@@ -20969,7 +20969,7 @@ function _sfc_render$1l(a, r, o, s, l, u) {
20969
20969
  "create-enable": a.allow("create"),
20970
20970
  "remove-enable": a.allow("remove"),
20971
20971
  onCreate: r[1] || (r[1] = (y) => a.$refs.form.open()),
20972
- onEdit: r[2] || (r[2] = ({ row: y, index: _ }) => a.$refs.form.open(y))
20972
+ onEdit: r[2] || (r[2] = ({ row: y, index: _ }) => a.$refs.form.open(y.customPage))
20973
20973
  }, {
20974
20974
  filterCommand: withCtx(() => [
20975
20975
  a.allow("export") ? (openBlock(), createBlock(d, {
@@ -42150,7 +42150,7 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
42150
42150
  let u = r.code.substr(0, r.code.length - 2), c = r.rawData.find((d) => d.id == this.parseData(a, r.code));
42151
42151
  this.setData(a, u, c);
42152
42152
  }
42153
- (r.controlType == "Select" || r.controlType == "SelectWithOther" || r.controlType == "Radio") && (r.dataSource.some((u) => u.id == this.parseData(a, r.code)) || (this.setData(a, r.code, null), r.triggers.forEach((u) => {
42153
+ (r.controlType == "Select" || r.controlType == "Radio") && (r.dataSource.some((u) => u.id == this.parseData(a, r.code)) || (this.setData(a, r.code, null), r.triggers.forEach((u) => {
42154
42154
  u.needClear = !0;
42155
42155
  })));
42156
42156
  },
@@ -43485,7 +43485,7 @@ const _sfc_main$n = {
43485
43485
  let r = this.staticData[a];
43486
43486
  for (let o = 0; o < this.columns.length; o++) {
43487
43487
  let s = this.columns[o], l = this.parseData(r, s.code);
43488
- if (s.slot || r._isShow && r._isShow[s.code] == !1)
43488
+ if (s.slot != "normal" || r._isShow && r._isShow[s.code] == !1)
43489
43489
  continue;
43490
43490
  if (s.isShow == !1)
43491
43491
  continue;
@@ -44839,7 +44839,7 @@ function _sfc_render$n(a, r, o, s, l, u) {
44839
44839
  ], 2)
44840
44840
  ], 2);
44841
44841
  }
44842
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-9d69160a"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44842
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-23d0b371"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44843
44843
  __proto__: null,
44844
44844
  default: viewTable
44845
44845
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {