fix: 设置 vite basePath 后,重新登录跳转路由错误
(cherry picked from commit d0d6a13285
)
This commit is contained in:
parent
74d0cce5d3
commit
0e62153dd1
@ -229,7 +229,7 @@ const handleAuthorized = () => {
|
||||
wsCache.clear()
|
||||
removeToken()
|
||||
isRelogin.show = false
|
||||
window.location.href = '/'
|
||||
window.location.href = import.meta.env.VITE_BASE_PATH
|
||||
})
|
||||
.catch(() => {
|
||||
isRelogin.show = false
|
||||
|
Loading…
Reference in New Issue
Block a user