lsc преди 1 месец
родител
ревизия
79b03fc537
променени са 4 файла, в които са добавени 2 реда и са изтрити 2 реда
  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

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.html


Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
dist/report.html


Файловите разлики са ограничени, защото са твърде много
+ 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', '')
           // // 根据角色生成可访问的路线图
           if (courseId) {
-            next({ ...to, query: { courseid: courseId, userid: hasToken }, replace: true })
+            next({ path: '/course', query: { courseid: courseId, userid: hasToken }, replace: true })
           } else if (testId) {
             next({ ...to, query: { courseid: testId, userid: hasToken }, replace: true })
           } else if (shareCourseId) {

Някои файлове не бяха показани, защото твърде много файлове са промени