From 1d2919094b9e11942d925c30a1829c1d50d7e2a5 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 3 Dec 2025 14:03:17 +0800 Subject: [PATCH] fix: correct error handling in URL processing function --- ui/src/components/ai-chat/component/chat-input-operate/index.vue | 1 + 1 file changed, 1 insertion(+) 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 390823fbc..e548dcf8b 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 @@ -583,6 +583,7 @@ const uploadFile = async (file: any, fileList: any) => { inner.file_id = split_path[split_path.length - 1] delete filePromisionDict.value[file.uid] }) + showURLSetting.value = false } // 粘贴处理 const handlePaste = (event: ClipboardEvent) => {