From cfa7a100ff4c3d67615966faa789fe16ce93c339 Mon Sep 17 00:00:00 2001 From: Surenjun Date: Mon, 21 Jul 2025 16:14:11 +0800 Subject: [PATCH 1/2] =?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; From cfa4a9c3e4d52a0a50f0a264091cd4b5b5b1de26 Mon Sep 17 00:00:00 2001 From: Surenjun Date: Mon, 21 Jul 2025 16:16:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E5=8E=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/judgeSDK/judge.ets | 2 -- 1 file changed, 2 deletions(-) diff --git a/entry/src/main/ets/pages/judgeSDK/judge.ets b/entry/src/main/ets/pages/judgeSDK/judge.ets index f3577e8..3feb3f8 100644 --- a/entry/src/main/ets/pages/judgeSDK/judge.ets +++ b/entry/src/main/ets/pages/judgeSDK/judge.ets @@ -699,8 +699,6 @@ 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; }