|
@@ -45,10 +45,11 @@ export async function initExamData(examId: number, examRecordDataId: number) {
|
|
|
PRACTICE_TYPE: string | null;
|
|
|
FREEZE_TIME: number | null;
|
|
|
SNAPSHOT_INTERVAL: number;
|
|
|
+ SHOW_MULTIPLE_CHOICE_WARNING?: any;
|
|
|
}>(
|
|
|
"/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
|
|
|
examId +
|
|
|
- `/SNAPSHOT_INTERVAL,PRACTICE_TYPE,FREEZE_TIME`,
|
|
|
+ `/SNAPSHOT_INTERVAL,PRACTICE_TYPE,FREEZE_TIME,SHOW_MULTIPLE_CHOICE_WARNING`,
|
|
|
{ "axios-retry": { retries: 4 }, noErrorMessage: true }
|
|
|
),
|
|
|
// 按ID查询考试批次信息
|
|
@@ -86,7 +87,7 @@ export async function initExamData(examId: number, examRecordDataId: number) {
|
|
|
|
|
|
exam.freezeTime = JSON.parse("" + examProp.FREEZE_TIME);
|
|
|
exam.SNAPSHOT_INTERVAL = JSON.parse("" + examProp.SNAPSHOT_INTERVAL);
|
|
|
-
|
|
|
+ exam.SHOW_MULTIPLE_CHOICE_WARNING = examProp.SHOW_MULTIPLE_CHOICE_WARNING;
|
|
|
exam.WEIXIN_ANSWER_ENABLED = weixinAnswerEnabled;
|
|
|
|
|
|
store.exam.faceCheckEnabled = faceCheckEnabled;
|