fix:singlePlay取值修改

This commit is contained in:
Surenjun 2025-07-21 16:14:11 +08:00
parent b81ce1baf2
commit cfa7a100ff

View File

@ -689,7 +689,8 @@ export default class Judge {
this.modelPath = JudgeConfig.modelPath;
this.trajectoryPath = JudgeConfig.trajectoryPath;
this.isExam = !this.judgeUI.singlePlay;
//TODO 临时改动
this.isExam = !AppStorage.get<boolean>('singlePlay')!;
(judgeUI.examSubject == '2' ? testKm2Items : testKm3Items).forEach(item => {
const projectCenterObj: ProjectInfo = Reflect.get(judgeUI.projectsCenterObj, item.code)
@ -698,6 +699,7 @@ export default class Judge {
status: projectCenterObj === undefined ? 0 : (projectCenterObj.isEnd ? 3 : 1)
})
})
console.info('surenjun this.isExam=>',this.isExam)
dConsole.info(JudgeTag + 'testKmItems', JSON.stringify(this.kmItems))
this.isExamEnd = false;