ysy 1 год назад
Родитель
Сommit
4733a76512
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/router/index.js

+ 1 - 2
src/router/index.js

@@ -25,8 +25,7 @@ const router = new VueRouter({
  * 路由守卫
  */
 router.beforeEach((to, from, next) => {
-  console.log(to, 'beforeEach-to');
-  console.log(from, 'beforeEach-from');
+
   if (!from.path.includes(REDIRECT_PATH)) {
     NProgress.start();
   }