diff options
Diffstat (limited to 'src/router/index.ts')
-rw-r--r-- | src/router/index.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/router/index.ts b/src/router/index.ts index 32a2962..d498728 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -85,7 +85,6 @@ const router = createRouter({ }) router.beforeEach((to, _, next) => { - console.log(to.fullPath) if (to.meta.isAuth && !localStorage.getItem('authToken')) { next(`/login?redirect=${to.fullPath}`) } else { |