Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a2a30e12f |
+2
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user