mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
提交
This commit is contained in:
@@ -54,7 +54,7 @@ http.interceptors.response.use(
|
||||
const {
|
||||
data: { code, msg, show },
|
||||
} = response;
|
||||
if (code === 0 || code === 200) {
|
||||
if (code === 0 || code === 200 || response?.data?.status == 200) {
|
||||
return response;
|
||||
} else if (code === 1000) {
|
||||
window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + process.env.VUE_APP_BOE_API_URL + process.env.VUE_APP_BASE + router.currentRoute.value.fullPath)
|
||||
|
||||
Reference in New Issue
Block a user