diff --git a/src/App.vue b/src/App.vue index d5a406f1..97503f1f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,7 +26,6 @@ import NavTop from "@/components/NavTop"; import OpenPages from "@/components/OpenPages"; import BreadCrumb from "@/components/BreadCrumb"; import zhCN from "ant-design-vue/es/locale/zh_CN"; -import * as api from "./api/index1"; import * as api1 from "@/api/index1"; import * as api2 from "@/api/index"; @@ -61,7 +60,6 @@ function init() { initDict("projectPic"); initDict("sysType"); getMemberInfo(); - getOrgTree(); } function unloadHandler() { @@ -105,12 +103,6 @@ async function initDict(key, localStory = false) { } const getDictList = (param) => api1.getDictTree({setCode: param,}).then((res) => res.data.data); -//获取组织树 -const getOrgTree = () => { - api.getOrgTreeInfo().then((res) => { - store.commit("getOrgtreeList", res.data.data); - }); -};