From 5e94a2858a40bc32f3b0369172e16ce17597714a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 16 一月 2026 16:28:29 +0800
Subject: [PATCH] fix: 同步军泰伟业生产模块变更

---
 src/components/Dialog/FileListDialog.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/Dialog/FileListDialog.vue b/src/components/Dialog/FileListDialog.vue
index ebe81dd..0721a55 100644
--- a/src/components/Dialog/FileListDialog.vue
+++ b/src/components/Dialog/FileListDialog.vue
@@ -229,10 +229,9 @@
 
 const handleUpload = async () => {
   if (props.uploadMethod) {
-    const newItem = await props.uploadMethod()
-    if (newItem) {
-      addAttachment(newItem)
-    }
+    // 濡傛灉鎻愪緵浜嗚嚜瀹氫箟涓婁紶鏂规硶锛岀敱鐖剁粍浠惰礋璐f洿鏂板垪琛紙閫氳繃 setList锛�
+    // 杩欓噷涓嶅啀鑷姩娣诲姞锛岄伩鍏嶄笌鐖剁粍浠剁殑 setList 閲嶅
+    await props.uploadMethod()
   }
   emit('upload')
 }

--
Gitblit v1.9.3