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

Merge pull request !89 from mgzu/master
liutao_branch
芋道源码 3 years ago committed by Gitee
commit 5daf0befe4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -229,7 +229,7 @@ const handleAuthorized = () => {
wsCache.clear() wsCache.clear()
removeToken() removeToken()
isRelogin.show = false isRelogin.show = false
window.location.href = '/' window.location.href = import.meta.env.VITE_BASE_PATH
}) })
.catch(() => { .catch(() => {
isRelogin.show = false isRelogin.show = false

Loading…
Cancel
Save