From b32b21d9c8b0ea659711760e7c80fb572d6b7a41 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期二, 19 三月 2024 16:28:54 +0800
Subject: [PATCH] for h5 missing some result (#1514)

---
 runtime/html5/static/main.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/html5/static/main.js b/runtime/html5/static/main.js
index 9a5a875..9655a50 100644
--- a/runtime/html5/static/main.js
+++ b/runtime/html5/static/main.js
@@ -366,7 +366,7 @@
 	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();
@@ -573,4 +573,4 @@
 		}
 	}
 	return false;
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1