feat: 修改代码结构
This commit is contained in:
@@ -7,7 +7,6 @@ import { getAuthorization, Logout } from './common';
|
||||
|
||||
async function handleError(response: any) {
|
||||
const code = response.data?.code;
|
||||
console.log(1111111, code);
|
||||
if ([40002, 40003, 40004, 40005].includes(code)) {
|
||||
if (isBrowser()) {
|
||||
const t = await getTranslations('common');
|
||||
|
||||
Reference in New Issue
Block a user