Skip to content

Commit ee8412f

Browse files
committed
feat: update getSpeechToTextAPI to include id parameter
--bug=1058746 --user=刘瑞斌 【应用】应用语音输入开启自动发送,对话页面发送语音报错 https://www.tapd.cn/62980211/s/1731337
1 parent 5a8c7a0 commit ee8412f

File tree

1 file changed

+1
-1
lines changed
  • ui/src/components/ai-chat/component/chat-input-operate

1 file changed

+1
-1
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ class RecorderManage {
651651
}
652652
const getSpeechToTextAPI = () => {
653653
if (props.type === 'ai-chat') {
654-
return (data?: any, loading?: Ref<boolean>) => {
654+
return (id?: any, data?: any, loading?: Ref<boolean>) => {
655655
return chatAPI.speechToText(data, loading)
656656
}
657657
} else {

0 commit comments

Comments
 (0)