zenglf
2023-09-28 8e75a78f55d60565eb48b25eafd4eb07939ce2cc
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.Departs.DepartTree,
  DepartTree:state => state.DepartTree.DepartTreeType
}
export default getters