소스 검색

Merge remote-tracking branch 'origin/master'

jzh 1 년 전
부모
커밋
853d6d3d58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client_h5/src/router/index.ts

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

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