From a6c4c79e5a1a88ff46ba7312475172dc112aaa17 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 25 Dec 2023 15:19:21 +0800 Subject: [PATCH] bug --- src/project/biaopin/AppAiInput/AppAiInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/biaopin/AppAiInput/AppAiInput.vue b/src/project/biaopin/AppAiInput/AppAiInput.vue index 937f962c..f7bb62b1 100644 --- a/src/project/biaopin/AppAiInput/AppAiInput.vue +++ b/src/project/biaopin/AppAiInput/AppAiInput.vue @@ -55,13 +55,13 @@ export default { this.isStart = true }, end() { + this.isStart = false wx.stopRecord({ success: (res)=> { wx.translateVoice({ localId: res.localId, // 需要识别的音频的本地Id,由录音相关接口获得,音频时长不能超过60秒 isShowProgressTips: 1, // 默认为1,显示进度提示 success: (e)=> { - this.isStart = false this.text = this.text + e.translateResult // 语音识别的结果 this.confirm() }