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

Merge pull request !89 from mgzu/master
This commit is contained in:
芋道源码 authored and Gitee committed 2023-04-04 15:43:17 +00:00
commit 5daf0befe4
1 file changed
+1 -1
+1 -1
View File
@@ -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