src/store/getters.js
@@ -1,5 +1,6 @@ import Vue from 'vue' import { USER_INFO, ENHANCE_PRE } from "@/store/mutation-types" import DepartTree from './modules/DepartTree' const getters = { device: state => state.app.device, theme: state => state.app.theme, @@ -19,7 +20,10 @@ }, sysSafeMode: state => state.user.sysSafeMode, ProductionNode:state => state.Production.ProductionTree, DepartNode:state => state.Depart.DepartTree DepartNode:state => state.Depart.DepartTree, DepartTree:state => state.DepartTree.DepartTreeType } export default getters