This commit is contained in:
Pengxiansen
2025-02-28 21:00:39 +08:00
parent 87120ddac3
commit 515efe913d

View File

@@ -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)