diff --git a/src/views/voice/recordPage/index.vue b/src/views/voice/recordPage/index.vue
index e61edf2..7c70106 100644
--- a/src/views/voice/recordPage/index.vue
+++ b/src/views/voice/recordPage/index.vue
@@ -12,16 +12,16 @@
style="opacity: 0.3; bottom: 5px"
alt=""
/>
-
-
-
-
-
+
+
+
+
+
{
- // console.log('语音打印', stream)
// 下面发送数据
let parms = {
createBy: userStore.userInfo.userName,
@@ -405,6 +404,15 @@
data: stream,
businessSourceCode: "dpyysb",
};
+ setTimeout(() => {
+ if (process.value == 2) {
+ console.log("说明没有识别且死机", process.value);
+ // 说明没有识别且死机
+ process.value = 0;
+ nowword.value = "";
+ reconnect();
+ }
+ }, 5000);
data.recognizeWs.send(JSON.stringify(parms));
});
}