yusheng hace 1 año
padre
commit
2e5655395d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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();
   }