From 764b7970500ab4999ce98b5e2d5cfc3859f277a4 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 8 Dec 2022 16:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=98=BEBUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personalCenter/components/addApplication.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/front/src/views/personalCenter/components/addApplication.vue b/front/src/views/personalCenter/components/addApplication.vue index d8acc87d..0dbf351b 100644 --- a/front/src/views/personalCenter/components/addApplication.vue +++ b/front/src/views/personalCenter/components/addApplication.vue @@ -292,13 +292,15 @@ .filter((val) => val) formName.demandDetails = res.data.data.demandDetails formName.enclosure = res.data.data.enclosure - fileList.value = [ - { - uid: res.data.data.id, - name: '附件', - staus: 'done', - }, - ] + if (formName.enclosure) { + fileList.value = [ + { + uid: res.data.data.id, + name: '附件', + staus: 'done', + }, + ] + } }) } const applicationSceneOpthion = ref([])