lsc 1 rok temu
rodzic
commit
766c0737e7
4 zmienionych plików z 2 dodań i 3 usunięć
  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

Plik diff jest za duży
+ 0 - 0
dist/index.html


Plik diff jest za duży
+ 1 - 1
dist/report.html


Plik diff jest za duży
+ 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 })
           }

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików