Explorar o código

去除路由log

ZaiZai %!s(int64=2) %!d(string=hai) anos
pai
achega
e046f9d62a
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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) => {
     NProgress.start();
     const token = getToken()
-    console.log(to.meta)
     if (to.path === '/login') return true
     if (to.path === '/auth') return true
     if (!token) return '/login'