소스 검색

项目验收bug修改

yewc 1 년 전
부모
커밋
9804515baa
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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) {