From cfa7a100ff4c3d67615966faa789fe16ce93c339 Mon Sep 17 00:00:00 2001 From: Surenjun Date: Mon, 21 Jul 2025 16:14:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:singlePlay=E5=8F=96=E5=80=BC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/judgeSDK/judge.ets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entry/src/main/ets/pages/judgeSDK/judge.ets b/entry/src/main/ets/pages/judgeSDK/judge.ets index e1ccb88..f3577e8 100644 --- a/entry/src/main/ets/pages/judgeSDK/judge.ets +++ b/entry/src/main/ets/pages/judgeSDK/judge.ets @@ -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('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;