diff --git a/pages/ai/aichat.js b/pages/ai/aichat.js index d13cac1..c393954 100644 --- a/pages/ai/aichat.js +++ b/pages/ai/aichat.js @@ -799,7 +799,7 @@ Page({ wx.showToast({ title: '已取消语音输入', icon: 'none' }) }, - // 页面隐藏 / 主动放弃:中止本轮,输入框回到开录前手打的内容 + // 页面隐藏 / 主动放弃:中止本轮,保留输入框当前文字,便于修改后继续发送 cancelVoiceInput() { const stream = this.voiceStream if (stream && !stream.stopSent) { @@ -807,7 +807,7 @@ Page({ stream.socket.send({ type: 'asr_cancel', id: stream.id }).catch(() => {}) } this.stopRecorderSilently() - this.resetVoiceState(false) + this.resetVoiceState(true) }, clearRecordTimer() {