Update main.js

This commit is contained in:
Yabin Li 2024-05-22 11:29:54 +08:00 committed by GitHub
parent 5715decf44
commit 1123168812
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -373,7 +373,7 @@ function getJsonMessage( jsonMsg ) {
varArea.value=rec_text;
console.log( "offline_text: " + asrmodel+","+offline_text);
console.log( "rec_text: " + rec_text);
if (isfilemode==true && is_final==false){
if (isfilemode==true && is_final==true){
console.log("call stop ws!");
play_file();
wsconnecter.wsStop();
@ -580,4 +580,4 @@ function getUseITN() {
}
}
return false;
}
}