|
@@ -179,7 +179,8 @@ import { ArrowLeftOutlined, ArrowRightOutlined } from "@ant-design/icons-vue";
|
|
const { addTimeout } = useTimers();
|
|
const { addTimeout } = useTimers();
|
|
|
|
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
-const checkType = route.query.checkType;
|
|
|
|
|
|
+// 使用 location.search 替代
|
|
|
|
+// const checkType = route.query.checkType;
|
|
const queryId = route.query.queryId as string;
|
|
const queryId = route.query.queryId as string;
|
|
let pageType: "DATA_CHECK" | "HAND_CHECK" = "HAND_CHECK";
|
|
let pageType: "DATA_CHECK" | "HAND_CHECK" = "HAND_CHECK";
|
|
if (queryId) {
|
|
if (queryId) {
|
|
@@ -252,7 +253,7 @@ async function getSetting() {
|
|
res = await httpApp.post("/admin/exam/check/answer/getSetting", form);
|
|
res = await httpApp.post("/admin/exam/check/answer/getSetting", form);
|
|
} else {
|
|
} else {
|
|
res = await httpApp.get(
|
|
res = await httpApp.get(
|
|
- `/admin/exam/check/student/getSetting?checkType=${checkType}`
|
|
|
|
|
|
+ `/admin/exam/check/student/getSetting${window.location.search}`
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|