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() }