修改从新登录跳转问题

This commit is contained in:
不做码农 2022-04-18 19:58:51 +08:00
parent 52e0dc6303
commit 7c007d8d03

View File

@ -52,7 +52,7 @@ service.interceptors.response.use(res => {
type: 'warning'
}).then(() => {
store.dispatch('LogOut').then(() => {
location.href = import.meta.env.VITE_APP_ROUTER_PREFIX + '/index';
location.href = import.meta.env.VITE_APP_ROUTER_PREFIX + 'index';
})
})