页面缓加载

This commit is contained in:
禺狨 2023-07-17 16:50:58 +08:00
parent 90e147eb3b
commit bf19ea66a3

View File

@ -55,8 +55,10 @@ export class HttpClient {
GoLogin(); GoLogin();
} else if (status === 403) { } else if (status === 403) {
// 跳转到无权限页面 // 跳转到无权限页面
GoLogin();
} else if (status === 500) { } else if (status === 500) {
// 跳转到500异常页面 // 跳转到500异常页面
GoLogin();
} }
return Promise.reject(error.response); return Promise.reject(error.response);
} }