Procházet zdrojové kódy

项目验收bug修改

yewc před 1 rokem
rodič
revize
9804515baa
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      client_h5/src/router/index.ts

+ 3 - 1
client_h5/src/router/index.ts

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