mooho-base-admin-plus 2.7.0 → 2.7.1

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
@@ -133,3 +133,4 @@ mooho-base-admin-plus@2.5.36 - 优化了表格选择的性能
133
133
  mooho-base-admin-plus@2.6.0 - 增加已办
134
134
  mooho-base-admin-plus@2.6.1 - 增加标签控件
135
135
  mooho-base-admin-plus@2.7.0 - 工作流增加折线
136
+ mooho-base-admin-plus@2.7.1 - 弹出选择框弹出时默认清空筛选内容
@@ -16573,7 +16573,20 @@ const admin = {
16573
16573
  const c = ((u = l.url) == null ? void 0 : u.split("?")[0]) || "", d = c.replace(/\//g, "-"), f = {};
16574
16574
  l.url && l.url.split("?").length > 1 && l.url.split("?")[1].split("&").forEach((p) => {
16575
16575
  p.split("=").length > 1 && p.split("=")[0].length > 0 && (f[p.split("=")[0]] = p.split("=")[1]);
16576
- }), s.children.push({
16576
+ }), l.isFrameOut ? r.addRoute({
16577
+ path: "/" + c,
16578
+ name: d,
16579
+ meta: {
16580
+ title: getNameI18n(l),
16581
+ description: getDescI18n(l),
16582
+ data: f,
16583
+ auth: !0,
16584
+ cache: !0
16585
+ },
16586
+ component: () => new Promise((p) => {
16587
+ p(a[l.templateUrl]);
16588
+ })
16589
+ }) : s.children.push({
16577
16590
  path: c,
16578
16591
  name: d,
16579
16592
  meta: {
@@ -27356,8 +27369,7 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_re
27356
27369
  return {
27357
27370
  //changed: false,
27358
27371
  selected: null,
27359
- selectedData: null,
27360
- loadDataEnable: !0
27372
+ selectedData: null
27361
27373
  };
27362
27374
  },
27363
27375
  props: {
@@ -27478,9 +27490,11 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_re
27478
27490
  },
27479
27491
  // 弹出选择框
27480
27492
  dialogSelectOpen() {
27481
- !this.readonly && this.source && (this.param ? this.loadDataEnable = !0 : this.loadDataEnable = !1, setTimeout(async () => {
27493
+ !this.readonly && this.source && setTimeout(async () => {
27494
+ for (let r in this.$refs.dialogTable.filterData)
27495
+ delete this.$refs.dialogTable.filterData[r];
27482
27496
  this.multi && (this.selectedData != null ? this.$refs.dialogTable.setSelected(this.selectedData) : this.$refs.dialogTable.setSelected([])), this.$refs.dialogTable.open(this.param);
27483
- }));
27497
+ });
27484
27498
  },
27485
27499
  // 弹出选择框选中
27486
27500
  dialogCheck(r) {