From ee8412f34d0d99f26569481d9744be3947258ee3 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 15 Jul 2025 11:12:33 +0800 Subject: [PATCH] feat: update getSpeechToTextAPI to include id parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1058746 --user=刘瑞斌 【应用】应用语音输入开启自动发送,对话页面发送语音报错 https://www.tapd.cn/62980211/s/1731337 --- .../components/ai-chat/component/chat-input-operate/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index eebad29b9..39ed20488 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -651,7 +651,7 @@ class RecorderManage { } const getSpeechToTextAPI = () => { if (props.type === 'ai-chat') { - return (data?: any, loading?: Ref) => { + return (id?: any, data?: any, loading?: Ref) => { return chatAPI.speechToText(data, loading) } } else {