zhuzhuanzhuan
2023-09-05 584e17205f4cabd39bbc1b5d2489a59b48aa739e
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{