lsc 7 bulan lalu
induk
melakukan
79b03fc537
4 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.cbfcca3d.js
  4. 1 1
      src/permission.js

File diff ditekan karena terlalu besar
+ 0 - 0
dist/index.html


File diff ditekan karena terlalu besar
+ 1 - 1
dist/report.html


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.cbfcca3d.js


+ 1 - 1
src/permission.js

@@ -103,7 +103,7 @@ router.beforeEach(async(to, from, next) => {
           await store.commit('SET_SHARECOURSEID', '')
           await store.commit('SET_SHARECOURSEID', '')
           // // 根据角色生成可访问的路线图
           // // 根据角色生成可访问的路线图
           if (courseId) {
           if (courseId) {
-            next({ ...to, query: { courseid: courseId, userid: hasToken }, replace: true })
+            next({ path: '/course', query: { courseid: courseId, userid: hasToken }, replace: true })
           } else if (testId) {
           } else if (testId) {
             next({ ...to, query: { courseid: testId, userid: hasToken }, replace: true })
             next({ ...to, query: { courseid: testId, userid: hasToken }, replace: true })
           } else if (shareCourseId) {
           } else if (shareCourseId) {

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini