From 41b7f79202b73ce7b350f0eee20e82293537c7a5 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 4 Dec 2025 16:43:50 +0800 Subject: [PATCH] fix: restore v-model binding for file list in upload component --- .../components/ai-chat/component/chat-input-operate/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() }