diff --git a/hx-op/src/api/origanizemanage.ts b/hx-op/src/api/origanizemanage.ts index a5b8364..27fe2f3 100644 --- a/hx-op/src/api/origanizemanage.ts +++ b/hx-op/src/api/origanizemanage.ts @@ -15,4 +15,5 @@ export enum enterPrise { queryOrgPermission = `${BASE_URL}/admin/org/QueryOrgPermission`, queryOrgTree = `${BASE_URL}/admin/org/QueryLinkOrgTree`, resetPwd = `${BASE_URL}/api/user/resetPwd`, + delLink = `${BASE_URL}/admin/org/delLink`, } diff --git a/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue b/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue index 9438895..9b3188c 100644 --- a/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue +++ b/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue @@ -1,22 +1,35 @@ diff --git a/lib/util/http/axios.ts b/lib/util/http/axios.ts index 79aa7f9..c0fe1aa 100644 --- a/lib/util/http/axios.ts +++ b/lib/util/http/axios.ts @@ -75,10 +75,10 @@ export class NSAxios { return config; }, undefined); - const errCodeMap = new Map([ + const errCodeMap = new Map([ [13, ''], [1, ''], - [3005, () => routerConfig.logout()], + [10086, () => routerConfig.logout()], ]); // type closeType = (() => void) | undefined;