mooho-base-admin-plus 2.10.25 → 2.10.27

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
@@ -196,3 +196,5 @@ mooho-base-admin-plus@2.10.22 - 修复上一版本的bug
196
196
  mooho-base-admin-plus@2.10.23 - 修复上一版本的bug
197
197
  mooho-base-admin-plus@2.10.24 - 修复onBlur事件参数错误
198
198
  mooho-base-admin-plus@2.10.25 - 修复默认值的bug
199
+ mooho-base-admin-plus@2.10.26 - 解决视图默认筛选条件和筛选项冲突的bug,需后端Mooho.Base@2.10.9
200
+ mooho-base-admin-plus@2.10.27 - 修复上一版本的bug
@@ -29436,7 +29436,7 @@ const processPage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_re
29436
29436
  let r = {};
29437
29437
  this.tableView.filtering && (r = JSON.parse(this.tableView.filtering));
29438
29438
  for (let o in this.filter)
29439
- r[o] = this.filter[o];
29439
+ r["v_" + o] = this.filter[o];
29440
29440
  for (let o in a)
29441
29441
  r[o] = a[o];
29442
29442
  if (this.tableView.sorting) {
@@ -43104,7 +43104,7 @@ const _sfc_main$n = {
43104
43104
  if (this.tableView.filtering) {
43105
43105
  let l = JSON.parse(this.tableView.filtering);
43106
43106
  for (let u in l)
43107
- this.viewFilter[u] = l[u];
43107
+ this.viewFilter["v_" + u] = l[u];
43108
43108
  } else
43109
43109
  this.viewFilter = {};
43110
43110
  this.tableView.keywordEnable && (this.tableView.keywordColumn || "").trim() ? this.viewFilter.keywordColumns = this.tableView.keywordColumn : this.viewFilter.keywordColumns = null, this.selectedData = [], this.inited = !0, this.initTrigger(), setTimeout(() => {
@@ -43586,7 +43586,7 @@ const _sfc_main$n = {
43586
43586
  for (let o in r) {
43587
43587
  let s = o, l = r[o];
43588
43588
  l == null || l == "" || this.filterColumns.some((u) => u.code == o && u.operator == "Custom") || typeof l == "object" && !(l instanceof Date) || s != "keywordColumns" && (a = a.filter((u) => {
43589
- if ((s.startsWith("d_") || s.startsWith("m_") || s.startsWith("y_")) && (s = s.substr(2)), s == "keyword") {
43589
+ if ((s.startsWith("d_") || s.startsWith("m_") || s.startsWith("y_") || s.startsWith("v_")) && (s = s.substr(2)), s == "keyword") {
43590
43590
  let c = r.keywordColumns.split(",");
43591
43591
  for (let d = 0; d < c.length; d++) {
43592
43592
  let f = c[d];
@@ -44645,7 +44645,7 @@ function _sfc_render$n(a, r, o, s, l, u) {
44645
44645
  ], 2)
44646
44646
  ], 2);
44647
44647
  }
44648
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-cffae061"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44648
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-adc09acf"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44649
44649
  __proto__: null,
44650
44650
  default: viewTable
44651
44651
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {