From 84a14c24edf92f7072e50b51ee37143d658ecfd4 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 11 三月 2025 14:28:09 +0800
Subject: [PATCH] 项目库展示总年度投资金额

---
 src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue b/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
index b5ad508..3840fb5 100644
--- a/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
@@ -233,7 +233,11 @@
         this.policyInfoForm = res.data;
         this.policyInfoForm.notBannedOrControlledProject = true
         this.policyInfoForm.informationIsTrue = true
-        this.fileList =this.policyInfoForm.fileList
+        if (this.policyInfoForm.fileList) {
+          this.fileList = this.policyInfoForm.fileList
+        } else {
+          this.fileList = []
+        }
       });
     },
     submit() {

--
Gitblit v1.8.0