Browse Source

注释路由跳转

songxy 1 month ago
parent
commit
7ce40d0b31
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client_h5/src/router/index.ts

+ 2 - 2
client_h5/src/router/index.ts

@@ -14,8 +14,8 @@ const router = createRouter({
 })
 // 路由加载前
 router.beforeEach((to, from, next) => {
-  next()
-  return
+  // next()
+  // return
   getUserInfoPromise(true).then((isLogin) => {
     next()
     if (!isLogin) {