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

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


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


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


+ 2 - 2
src/permission.js

@@ -19,7 +19,7 @@ router.beforeEach(async(to, from, next) => {
   const hasToken = getToken()
 
   if (to.query.courseid) {
-    await store.commit('app/SET_COURSEID', to.query.courseid)
+    await store.commit('SET_COURSEID', to.query.courseid)
   }
   if (hasToken) {
     if (to.path === '/login') {
@@ -34,7 +34,7 @@ router.beforeEach(async(to, from, next) => {
       if (userinfo) {
         const courseId = store.getters.courseId
 
-        next({ ...to, query: { courseid: courseId }})
+        next({ ...to, query: { courseid: courseId } })
       } else {
         try {
           // 获取用户信息

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