diff --git a/entry/src/main/ets/common/utils/UdpClientByCenter.ts b/entry/src/main/ets/common/utils/UdpClientByCenter.ts index 687fc80f..a254069f 100644 --- a/entry/src/main/ets/common/utils/UdpClientByCenter.ts +++ b/entry/src/main/ets/common/utils/UdpClientByCenter.ts @@ -312,6 +312,7 @@ export default class UdpClientByCenter { if (terType == 2) { //三型机 this.onMessage_1Callback = callback; + this.udp && this.udp.off('message', this.message_1Fn); this.udp && this.udp.on('message', this.message_1Fn); } else { this.retClass.receiveMsg(callback) 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