Commit 5daf0bef by 芋道源码 Committed by Gitee

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

Merge pull request !89 from mgzu/master
parents 094c3fe1 d0d6a132
......@@ -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