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([])