lsc 1 年之前
父节点
当前提交
766c0737e7
共有 4 个文件被更改,包括 2 次插入3 次删除
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.bea7abb7.js
  4. 1 2
      src/permission.js

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 1 - 1
dist/report.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.bea7abb7.js


+ 1 - 2
src/permission.js

@@ -54,8 +54,7 @@ router.beforeEach(async(to, from, next) => {
           } else if (testId) {
             next({ ...to, query: { courseid: testId }, replace: true })
           } else if (shareCourseId) {
-            localStorage.setItem('urlType', 1)
-            next({ path: '/course', query: { courseid: shareCourseId }, replace: true })
+            next({ path: '/course', query: { courseid: shareCourseId, urlType: 1 }, replace: true })
           } else {
             next({ ...to, replace: true })
           }

部分文件因为文件数量过多而无法显示