From f888e82b0042ad87a05fad06c611d8d46984a784 Mon Sep 17 00:00:00 2001 From: surenjun Date: Thu, 15 May 2025 11:35:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20512[7]=E5=8F=82=E6=95=B0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/judgeSDK/judge.ts | 7 +++++-- test.bat | 13 +++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 test.bat diff --git a/entry/src/main/ets/pages/judgeSDK/judge.ts b/entry/src/main/ets/pages/judgeSDK/judge.ts index 8dfdbdb4..b330d72f 100644 --- a/entry/src/main/ets/pages/judgeSDK/judge.ts +++ b/entry/src/main/ets/pages/judgeSDK/judge.ts @@ -1215,10 +1215,13 @@ export default class Judge { } else { //收到综合评判语音时,显示综合评判弹窗 if(code[0] == 'zhpp'){ + const param512 = (this.judgeUI.judgeConfigObj['512'] || '').split(','); this.judgeUI.isDeductedPopShow = false clearTimeout(this.deductedPopShowTimer) - this.judgeUI.isDeductedPopShow = true - this.judgeUI.defaultTabIndex = 1 + if(param512[7] != 0){ + this.judgeUI.isDeductedPopShow = true + this.judgeUI.defaultTabIndex = 1 + } this.isEndTip = true } avPlayer.playAudio([`voice/${code[0]}.mp3`]) diff --git a/test.bat b/test.bat new file mode 100644 index 00000000..f61d21ff --- /dev/null +++ b/test.bat @@ -0,0 +1,13 @@ +@echo off + +set TOOLCHAIN_PATH=.\win + +cd %TOOLCHAIN_PATH% + +.\hdc.exe kill +.\hdc.exe shell hilog -w stop +.\hdc.exe shell hilog -r + +echo "操作完成" + +pause