From 68a0098445f6c589c943ee1a8a350c9c6f084253 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 10 Oct 2024 10:48:13 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8F=96=E6=B6=88=E5=BD=95=E9=9F=B3?= =?UTF-8?q?=E6=97=B6=E6=8E=A7=E5=88=B6=E5=8F=B0=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index f2f004d5b..e88a6e0b6 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -831,6 +831,8 @@ const mediaRecorderStatus = ref(true) // 开始录音 const startRecording = async () => { try { + // 取消录音控制台日志 + Recorder.CLog=function(){} mediaRecorderStatus.value = false handleTimeChange() mediaRecorder.value = new Recorder({ @@ -908,7 +910,6 @@ const uploadRecording = async (audioBlob: Blob) => { const formData = new FormData() formData.append('file', audioBlob, 'recording.mp3') applicationApi.postSpeechToText(props.data.id as string, formData, loading).then((response) => { - console.log('上传成功:', response.data) recorderLoading.value = false mediaRecorder.value.close() inputValue.value = typeof response.data === 'string' ? response.data : ''