mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-13 04:00:09 +08:00
页面缓加载
This commit is contained in:
parent
90e147eb3b
commit
bf19ea66a3
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user