Explorar el Código

注释路由跳转

songxy hace 1 mes
padre
commit
7ce40d0b31
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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) {