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

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


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


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


+ 3 - 0
src/permission.js

@@ -75,6 +75,9 @@ router.beforeEach(async(to, from, next) => {
       console.log('userinfo', userinfo)
       // console.log('to', {...to} )
       if (userinfo) {
+        const data = await store.dispatch('user/getInfo')
+        await store.commit('user/SET_USERINFO', data)
+
         const courseId = to.query.courseid
         const testId = to.query.testid
         const shareCourseId = to.query.shareCourseId

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