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 916e885e8..f06cec514 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 @@ -278,7 +278,6 @@ :show-file-list="false" :accept="getAcceptList()" :on-change="(file: any, fileList: any) => uploadFile(file, fileList)" - v-model:file-list="fileAllList" ref="upload" > @@ -568,7 +566,7 @@ const uploadFile = async (file: any, fileList: any) => { } filePromisionDict.value[file.uid] = false const inner = reactive(file) - // fileAllList.value.push(inner) + fileAllList.value.push(inner) if (!chatId_context.value) { chatId_context.value = await props.openChatId() }