mooho-base-admin-plus 2.4.38 → 2.4.39

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
@@ -67,6 +67,7 @@
67
67
  2.4.33 - 修复多选可筛选选择框无法删除已选项的bug
68
68
  2.4.34 - 修复带参数的路由地址无法处理权限点的bug
69
69
  2.4.35 - showMultiLine函数增加判断,非字符串不处理
70
- 2.4.36 - 增加了组件继承支持
70
+ 2.4.36 - 增加了组件覆盖支持
71
71
  2.4.37 - 增加component导出
72
72
  2.4.38 - 修复上一版本bug
73
+ 2.4.39 - 修复菜单管理界面无法用关键词查询的bug
@@ -36556,7 +36556,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
36556
36556
  model: $data.data,
36557
36557
  "label-position": "top",
36558
36558
  "label-colon": "\uFF1A",
36559
- class: "ivu-mt draggable"
36559
+ class: "ivu-mt"
36560
36560
  }, {
36561
36561
  default: withCtx(() => [
36562
36562
  createVNode$1(_component_draggable, {
@@ -47636,15 +47636,15 @@ const _sfc_main$V = {
47636
47636
  mixins: [mixinPage],
47637
47637
  components: { taskForm },
47638
47638
  data() {
47639
- return {
47640
- filter: {}
47641
- };
47639
+ return {};
47642
47640
  },
47643
47641
  computed: {},
47644
47642
  created() {
47645
- for (let key in this.$route.query) {
47646
- this.filter[key] = this.$route.query[key];
47647
- }
47643
+ setTimeout(() => {
47644
+ for (let key in this.$route.query) {
47645
+ this.$refs.table.filterData[key] = this.$route.query[key];
47646
+ }
47647
+ });
47648
47648
  },
47649
47649
  methods: {}
47650
47650
  };
@@ -47671,7 +47671,6 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
47671
47671
  default: withCtx(() => [
47672
47672
  createVNode$1(_component_view_table, {
47673
47673
  ref: "table",
47674
- filter: $data.filter,
47675
47674
  "view-code": "TodoList"
47676
47675
  }, {
47677
47676
  command: withCtx(({ row }) => [
@@ -47684,7 +47683,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
47684
47683
  }, null, 8, ["title", "onClick"])
47685
47684
  ]),
47686
47685
  _: 1
47687
- }, 8, ["filter"])
47686
+ }, 512)
47688
47687
  ]),
47689
47688
  _: 1
47690
47689
  }),
@@ -49977,10 +49976,7 @@ const _sfc_main$C = {
49977
49976
  components: {},
49978
49977
  data() {
49979
49978
  return {
49980
- data: null,
49981
- filter: {
49982
- parentID: "null"
49983
- }
49979
+ data: null
49984
49980
  };
49985
49981
  },
49986
49982
  computed: {},
@@ -50078,14 +50074,16 @@ const _sfc_main$C = {
50078
50074
  }
50079
50075
  },
50080
50076
  beforeLoadData() {
50081
- if (!(this.filter["keyword"] || "").trim()) {
50082
- this.filter["parentID"] = "null";
50077
+ let filterData = this.$refs.table.filterData;
50078
+ if (!(filterData["keyword"] || "").trim()) {
50079
+ filterData["parentID"] = "null";
50083
50080
  } else {
50084
- this.filter["parentID"] = null;
50081
+ filterData["parentID"] = null;
50085
50082
  }
50086
50083
  },
50087
50084
  async onLoadData() {
50088
- if (!!(this.filter["keyword"] || "").trim()) {
50085
+ let filterData = this.$refs.table.filterData;
50086
+ if (!!(filterData["keyword"] || "").trim()) {
50089
50087
  let data2 = this.$refs.table.data;
50090
50088
  if (data2.length > 0) {
50091
50089
  let dataWithParent = [];
@@ -50149,7 +50147,6 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
50149
50147
  createVNode$1(_component_view_table, {
50150
50148
  ref: "table",
50151
50149
  "view-code": "Permission",
50152
- filter: $data.filter,
50153
50150
  selectEnable: true,
50154
50151
  "tree-enable": true,
50155
50152
  "tree-load": (row) => $options.onTreeLoad(row),
@@ -50209,7 +50206,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
50209
50206
  }, toDisplayString$1(_ctx.showData(row, column)), 5)) : createCommentVNode("v-if", true)
50210
50207
  ]),
50211
50208
  _: 1
50212
- }, 8, ["filter", "tree-load", "has-children", "before-load-data", "onOnLoadData"])
50209
+ }, 8, ["tree-load", "has-children", "before-load-data", "onOnLoadData"])
50213
50210
  ]),
50214
50211
  _: 1
50215
50212
  }),