qdt-admin-layout 1.1.31 → 1.1.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdt-admin-layout",
3
- "version": "1.1.31",
3
+ "version": "1.1.33",
4
4
  "description": "基于element-ui的后台管理layout的管家婆改版",
5
5
  "main": "src/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -84,6 +84,11 @@ export default {
84
84
  methods: {
85
85
  // 将el-menu的select事件传递给外部
86
86
  onSelect(...args) {
87
+ console.log(...args, 'args');
88
+ if (args[0].includes('/large-screen-visualization')) {
89
+ window.open(args[0], '_blank');
90
+ return;
91
+ }
87
92
  this.$emit("select", ...args);
88
93
  },
89
94
 
@@ -23,7 +23,6 @@ import {
23
23
  getAffixTagsFromMenuTree,
24
24
  renderDefaultStyleTag,
25
25
  } from "./util";
26
- import { mapState, mapActions, mapGetters } from "vuex";
27
26
 
28
27
  export default {
29
28
  name: "TagsView",
@@ -80,9 +79,6 @@ export default {
80
79
  },
81
80
 
82
81
  methods: {
83
- ...mapActions({
84
- resetSearchCondition: "searchCondition/resetSearchCondition",
85
- }),
86
82
  /**
87
83
  * 根据路由设置当前激活的页签key
88
84
  * @param route {import('vue-router').Route}
@@ -206,7 +202,6 @@ export default {
206
202
  if (["销售工作台"].includes(view.meta.title)) {
207
203
  window.sessionStorage.removeItem("allotEdit");
208
204
  window.sessionStorage.removeItem("shipEdit");
209
- this.resetSearchCondition();
210
205
  }
211
206
  }
212
207
  },