lsc 2 년 전
부모
커밋
97af135e23
4개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.12314410.js
  4. 1 1
      src/permission.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/report.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.12314410.js


+ 1 - 1
src/permission.js

@@ -34,7 +34,7 @@ router.beforeEach(async(to, from, next) => {
       } else {
         try {
           // 获取用户信息
-          store.dispatch('user/getInfo')
+          await store.dispatch('user/getInfo')
           // // 根据角色生成可访问的路线图
           next({ ...to, replace: true })
         } catch (error) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.