flat:赞存

This commit is contained in:
Apcallover
2025-11-14 10:11:44 +08:00
parent 4f4f6e115b
commit 5591ab8313
5 changed files with 26 additions and 18 deletions

View File

@@ -94,7 +94,9 @@ service.interceptors.response.use(
//如果是401则跳转到登录页面
if (status === 401) {
store.dispatch("FedLogOut").then(() => {
// window.location.href = process.env.VUE_APP_LOGIN_NEXT;
if (process.env.NODE_ENV !== "development") {
window.location.href = process.env.VUE_APP_LOGIN_NEXT;
}
});
// store.dispatch('FedLogOut').then(() => router.push({path: '/login'}));
}