diff --git a/src/libs/util.js b/src/libs/util.js index bdf58b0..1b9434e 100644 --- a/src/libs/util.js +++ b/src/libs/util.js @@ -1,10 +1,10 @@ import cookies from "./util.cookies"; import { _local, _session } from "./util.db"; import { Message } from "element-ui"; -import store from "@/store"; -import axios from "axios"; -import api from "@/api"; -import Setting from "@/setting"; +import store from '@/store' +import axios from 'axios' +import api from '@/api' +import Setting from '@/setting' let logout = false; // 文件后缀集合 diff --git a/src/pages/match/details/index.vue b/src/pages/match/details/index.vue index c54c61b..6bf603b 100644 --- a/src/pages/match/details/index.vue +++ b/src/pages/match/details/index.vue @@ -1645,7 +1645,7 @@ export default { // 理论考试 if (method === 1) { - this.$router.push(`theoryExam?id=${form.id}&stageId=${stageId}`) + this.$router.push(`/match/theoryExam?id=${form.id}&stageId=${stageId}&teamId=${teamId}`) } else { let token = Util.local.get(Setting.tokenKey); if (systemId == 11) { diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue index d372351..571a067 100644 --- a/src/pages/match/list/index.vue +++ b/src/pages/match/list/index.vue @@ -973,7 +973,7 @@ export default { // 理论考试 if (method === 1) { - this.$router.push(`theoryExam?id=${form.id}&stageId=${stageId}`) + this.$router.push(`/match/theoryExam?id=${form.id}&stageId=${stageId}&teamId=${teamId}`) } else { let token = Util.local.get(Setting.tokenKey) if (systemId == 11) { diff --git a/src/pages/match/theoryExam/index.vue b/src/pages/match/theoryExam/index.vue index 6583073..77fd080 100644 --- a/src/pages/match/theoryExam/index.vue +++ b/src/pages/match/theoryExam/index.vue @@ -1,5 +1,5 @@