From 648d8878eb0153fb73abb8a383bc5148a590757b Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 4 Dec 2025 10:38:16 +0800 Subject: [PATCH] fix: restore functionality to push valid files to the file list --- .../ai-chat/component/chat-input-operate/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 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 d533d6466..916e885e8 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 @@ -1313,9 +1313,9 @@ async function saveUrl() { // 并行处理所有 URL await Promise.all(validUrls.map(url => processUrl(url))); - // if (validFiles.length > 0) { - // fileAllList.value.push(...validFiles); - // } + if (validFiles.length > 0) { + fileAllList.value.push(...validFiles); + } showURLSetting.value = false; urlForm.source_url = '';