feat: 企业细节逻辑调整

This commit is contained in:
xuziqiang
2024-06-12 18:15:49 +08:00
parent 680855f310
commit 819a00f733
5 changed files with 84 additions and 51 deletions

View File

@@ -75,10 +75,10 @@ export class NSAxios {
return config;
}, undefined);
const errCodeMap = new Map([
const errCodeMap = new Map<number, any>([
[13, ''],
[1, ''],
[3005, () => routerConfig.logout()],
[10086, () => routerConfig.logout()],
]);
// type closeType = (() => void) | undefined;