mooho-base-admin-plus 2.7.4 → 2.7.5

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
@@ -137,3 +137,4 @@ mooho-base-admin-plus@2.7.1 - 弹出选择框弹出时默认清空筛选内容
137
137
  mooho-base-admin-plus@2.7.2 - 修复字典缓存的bug
138
138
  mooho-base-admin-plus@2.7.3 - 修复公式最后一位为)时的bug
139
139
  mooho-base-admin-plus@2.7.4 - 修复全选的bug
140
+ mooho-base-admin-plus@2.7.5 - 将List组件改为后端分页
@@ -39992,11 +39992,14 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
39992
39992
  d.needClear = !0;
39993
39993
  });
39994
39994
  else if (u.controlType === "List" && c != null) {
39995
- let d, f = this.$refs["list_" + u.code][0].tableView, p = f.filtering;
39996
- (p || "").trim() && (c = {
39995
+ let f = this.$refs["list_" + u.code][0].tableView.filtering;
39996
+ (f || "").trim() && (c = {
39997
39997
  ...c,
39998
- ...JSON.parse(p)
39999
- }), u.isSourceCustom ? d = await customModelApi.query(u.sourceModel, c) : d = await modelApi.query(u.sourceModel, c, f.functionName, f.functionType), this.$refs["list_" + u.code][0].loadData(d.data);
39998
+ ...JSON.parse(f)
39999
+ });
40000
+ for (let p in c)
40001
+ this.$refs["list_" + u.code][0].filterData[p] = c[p];
40002
+ this.$refs["list_" + u.code][0].loadData();
40000
40003
  }
40001
40004
  }
40002
40005
  u.needClear = !1, u.needRefresh = !1;
@@ -40198,10 +40201,9 @@ function _sfc_render$o(r, a, o, s, l, u) {
40198
40201
  createVNode$1(d, {
40199
40202
  ref_for: !0,
40200
40203
  ref: "list_" + B.code,
40201
- static: !0,
40202
40204
  "view-code": B.source,
40203
40205
  readonly: !0,
40204
- embedded: !0
40206
+ "auto-load": !1
40205
40207
  }, null, 8, ["view-code"])
40206
40208
  ])) : createCommentVNode("", !0),
40207
40209
  B.controlType !== "Placeholder" && B.controlType !== "Title" && B.controlType !== "Table" && B.controlType !== "List" ? (openBlock(), createBlock(U, {