diff --git a/src/views/chat/components/VoiceInput.vue b/src/views/chat/components/VoiceInput.vue index b4cf460..0df50a4 100644 --- a/src/views/chat/components/VoiceInput.vue +++ b/src/views/chat/components/VoiceInput.vue @@ -152,6 +152,8 @@ const openVoiceModal = async () => { showVoiceModal.value = true isRecording.value = false remainingTime.value = 30 + currentOnlineText = '' + finalTexts.value = [] audioChunks = [] // 自动开始录音