qdt-admin-layout 1.1.29 → 1.1.31
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
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
getAffixTagsFromMenuTree,
|
|
24
24
|
renderDefaultStyleTag,
|
|
25
25
|
} from "./util";
|
|
26
|
+
import { mapState, mapActions, mapGetters } from "vuex";
|
|
26
27
|
|
|
27
28
|
export default {
|
|
28
29
|
name: "TagsView",
|
|
@@ -79,6 +80,9 @@ export default {
|
|
|
79
80
|
},
|
|
80
81
|
|
|
81
82
|
methods: {
|
|
83
|
+
...mapActions({
|
|
84
|
+
resetSearchCondition: "searchCondition/resetSearchCondition",
|
|
85
|
+
}),
|
|
82
86
|
/**
|
|
83
87
|
* 根据路由设置当前激活的页签key
|
|
84
88
|
* @param route {import('vue-router').Route}
|
|
@@ -200,8 +204,9 @@ export default {
|
|
|
200
204
|
tagsViewMutations.delTagAndCache(view);
|
|
201
205
|
this.activeKey === view.key && this.gotoLastTag();
|
|
202
206
|
if (["销售工作台"].includes(view.meta.title)) {
|
|
203
|
-
window.
|
|
204
|
-
|
|
207
|
+
window.sessionStorage.removeItem("allotEdit");
|
|
208
|
+
window.sessionStorage.removeItem("shipEdit");
|
|
209
|
+
this.resetSearchCondition();
|
|
205
210
|
}
|
|
206
211
|
}
|
|
207
212
|
},
|