fix:退出登录跳转问题
This commit is contained in:
parent
36f1c67466
commit
eeff406f01
@ -86,7 +86,7 @@ function logout() {
|
||||
})
|
||||
.then(() => {
|
||||
userStore.logOut().then(() => {
|
||||
location.href = '/index'
|
||||
location.href = import.meta.env.VITE_APP_ROUTER_PREFIX + 'index';
|
||||
})
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user