登录失效后跳转

ywj_dev
wj 2 years ago
parent 98b6ec72fe
commit fd4af566a4

@ -98,7 +98,7 @@ service.interceptors.response.use(res => {
isRelogin.show = false;
store.dispatch('LogOut').then(() => {
Cookies.remove()
location.href = process.env.VUE_APP_CONTEXT_PATH + "index";
location.href = process.env.VUE_APP_CONTEXT_PATH;
})
}).catch(() => {
isRelogin.show = false;

Loading…
Cancel
Save