src/store/modules/DepartTree.js
@@ -1,6 +1,6 @@ import Vue from 'vue' import {ajaxGetDictItems,getDictItemsFromCache} from '@/api/api' import { SET_DEPARTTREE } from "@/store/mutation-types" import { SYS_DEPARTTREE } from "@/store/mutation-types" import { getAction } from '@/api/manage' const DepartTree = { @@ -29,7 +29,7 @@ ajaxGetDictItems('depart_is', null).then((res) => { if (res.success) { const result = res.result Vue.ls.set(SET_DEPARTTREE, result) Vue.ls.set(SYS_DEPARTTREE, result) commit('SET_DEPARTTREE', result) resolve(res) }else{