From be31adc8150e5b21008aa7d6212fc105fc425818 Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期二, 01 七月 2025 15:31:39 +0800
Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory

---
 laboratory/src/views/reportLibrary/processDevelopment/add.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/laboratory/src/views/reportLibrary/processDevelopment/add.vue b/laboratory/src/views/reportLibrary/processDevelopment/add.vue
index 0882f16..716ec66 100644
--- a/laboratory/src/views/reportLibrary/processDevelopment/add.vue
+++ b/laboratory/src/views/reportLibrary/processDevelopment/add.vue
@@ -126,12 +126,14 @@
                 this.form = res
                 this.tableData = [{ ...res.projectTeam, staffName: res.staffNames }]
                 if (res.feasibilityReportFiles && res.feasibilityReportFiles.length > 0) {
-                    this.fileList = res.feasibilityReportFiles.map(file => ({
-                        name: file.fileName,
-                        url: getFullUrl(file.fileUrl),
-                        uid: file.id
-                    }))
-                    this.form.feasibilityReportFiles = res.fileList
+                    this.fileList = res.feasibilityReportFiles.map(file => {
+                        return {
+                            name: file.fileName,
+                            url: getFullUrl(file.fileUrl),
+                            uid: file.id
+                        }
+                    })
+                    this.form.feasibilityReportFiles = res.feasibilityReportFiles
                 } else {
                     this.fileList = []
                     this.form.feasibilityReportFiles = []

--
Gitblit v1.7.1