This commit is contained in:
wangzhongjie 2025-05-15 17:03:17 +08:00
commit 5119c46963
3 changed files with 19 additions and 2 deletions

View File

@ -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)

View File

@ -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`])

13
test.bat Normal file
View File

@ -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