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 {