浏览代码

去除路由log

ZaiZai 2 年之前
父节点
当前提交
e046f9d62a
共有 1 个文件被更改,包括 0 次插入1 次删除
  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'