|
|
@@ -154,7 +154,7 @@ service.interceptors.response.use(
|
|
|
if (isLoggedIn) {
|
|
|
global.logout();
|
|
|
|
|
|
- window.location.href = "/#/login?redirect=" + encodeURIComponent("/");
|
|
|
+ window.location.href = "login?redirect=" + encodeURIComponent("/");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -181,7 +181,7 @@ service.interceptors.response.use(
|
|
|
global.logout();
|
|
|
|
|
|
// 跳转到登录页
|
|
|
- window.location.href = "/#/login?redirect=" + encodeURIComponent("/");
|
|
|
+ window.location.href = "login?redirect=" + encodeURIComponent("/");
|
|
|
}
|
|
|
}
|
|
|
|