lsc 2 年 前
コミット
df666f0e30

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/index.html


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/report.html


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/css/chunk-f86d6f0a.01c4b8e8.css


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.5949cd14.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/chunk-6127ff6f.7654563f.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/chunk-f86d6f0a.e0b65e8e.js


+ 2 - 2
src/permission.js

@@ -18,8 +18,8 @@ router.beforeEach(async(to, from, next) => {
   // determine whether the user has logged in
   const hasToken = getToken()
 
-  if (to.query.courseId) {
-    store.commit('app/SET_COURSEID', to.query.courseId)
+  if (from.query.courseId) {
+    store.commit('app/SET_COURSEID', from.query.courseId)
   }
   if (hasToken) {
     if (to.path === '/login') {

+ 0 - 1
src/views/course/index.vue

@@ -135,7 +135,6 @@ export default {
     }
   },
   created() {
-    this.setCourseid(this.courseid)
     this.getCourse()
   }
 }

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません