yusheng 1 năm trước cách đây
mục cha
commit
2e5655395d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();
   }