Browse Source

去除路由log

ZaiZai 2 years ago
parent
commit
e046f9d62a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/router/index.js

+ 0 - 1
src/router/index.js

@@ -16,7 +16,6 @@ const router = vueRouter.createRouter({
 router.beforeResolve(async (to) => {
 router.beforeResolve(async (to) => {
     NProgress.start();
     NProgress.start();
     const token = getToken()
     const token = getToken()
-    console.log(to.meta)
     if (to.path === '/login') return true
     if (to.path === '/login') return true
     if (to.path === '/auth') return true
     if (to.path === '/auth') return true
     if (!token) return '/login'
     if (!token) return '/login'