lsc 11 月之前
父節點
當前提交
c7b80503fa
共有 4 個文件被更改,包括 2 次插入2 次删除
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.cff9051f.js
  4. 1 1
      src/permission.js

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 1 - 1
dist/report.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.cff9051f.js


+ 1 - 1
src/permission.js

@@ -105,7 +105,7 @@ router.beforeEach(async(to, from, next) => {
           if (courseId) {
             next({ path: '/course', query: { courseid: courseId, userid: hasToken }, replace: true })
           } else if (testId) {
-            next({ ...to, query: { courseid: testId, userid: hasToken }, replace: true })
+            next({ path: '/testDetail', query: { courseid: testId, userid: hasToken }, replace: true })
           } else if (shareCourseId) {
             next({
               path: '/courseDetail',

部分文件因文件數量過多而無法顯示