fix: 外链支持
This commit is contained in:
@@ -49,6 +49,7 @@ const guard = (router: Router) => {
|
||||
}
|
||||
next({ ...to, replace: true })
|
||||
} catch (e) {
|
||||
alert(e)
|
||||
removeAuthToken()
|
||||
next({ path: `${WhiteListPage.LOGIN_PATH}?redirect=/${to.path}` })
|
||||
}
|
||||
|
Reference in New Issue
Block a user