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) {

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