Skip to content

Commit 648d887

Browse files
committed
fix: restore functionality to push valid files to the file list
1 parent 9594b4f commit 648d887

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,9 +1313,9 @@ async function saveUrl() {
13131313
// 并行处理所有 URL
13141314
await Promise.all(validUrls.map(url => processUrl(url)));
13151315
1316-
// if (validFiles.length > 0) {
1317-
// fileAllList.value.push(...validFiles);
1318-
// }
1316+
if (validFiles.length > 0) {
1317+
fileAllList.value.push(...validFiles);
1318+
}
13191319
13201320
showURLSetting.value = false;
13211321
urlForm.source_url = '';

0 commit comments

Comments
 (0)