|
@@ -1,8 +1,8 @@
|
|
|
/*
|
|
|
* @Author: zouwenying
|
|
|
* @Date: 2020-10-22 14:40:01
|
|
|
- * @LastEditTime: 2020-11-20 10:02:36
|
|
|
- * @LastEditors: Please set LastEditors
|
|
|
+ * @LastEditTime: 2022-08-16 18:06:59
|
|
|
+ * @LastEditors: D4THYL3
|
|
|
* @Description: In User Settings Edit
|
|
|
* @FilePath: \vue-manage-system-master\src\store\store.js
|
|
|
*/
|
|
@@ -51,7 +51,8 @@ const store = new Vuex.Store({
|
|
|
// 当前缩放比
|
|
|
scale: document.body.clientWidth / 1920,
|
|
|
dragItemData: {},
|
|
|
- homeCommunityAll: ''
|
|
|
+ homeCommunityAll: '',
|
|
|
+ treeListAll: ''
|
|
|
},
|
|
|
getters: {
|
|
|
getTheme(state) {
|
|
@@ -206,6 +207,9 @@ const store = new Vuex.Store({
|
|
|
},
|
|
|
getHomeCommunityAll(state) {
|
|
|
return state.homeCommunityAll;
|
|
|
+ },
|
|
|
+ getTreeListAll(state) {
|
|
|
+ return state.treeListAll;
|
|
|
}
|
|
|
},
|
|
|
mutations: {
|
|
@@ -280,6 +284,9 @@ const store = new Vuex.Store({
|
|
|
},
|
|
|
setHomeCommunityAll(state, data) {
|
|
|
state.homeCommunityAll = data;
|
|
|
+ },
|
|
|
+ setTreeListAll(state, data) {
|
|
|
+ state.treeListAll = data;
|
|
|
}
|
|
|
},
|
|
|
actions: {
|