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

+ 2 - 0
src/router/index.js

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