Commit d0d6a132 by 马光祖

fix: 设置 vite basePath 后,重新登录跳转路由错误

parent 094c3fe1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment