diff --git a/resources/admin/router/guard/index.ts b/resources/admin/router/guard/index.ts index dff2b68..47f022c 100644 --- a/resources/admin/router/guard/index.ts +++ b/resources/admin/router/guard/index.ts @@ -49,7 +49,6 @@ const guard = (router: Router) => { } next({ ...to, replace: true }) } catch (e) { - alert(e) removeAuthToken() next({ path: `${WhiteListPage.LOGIN_PATH}?redirect=/${to.path}` }) }