diff --git a/front/src/views/personalCenter/components/addApplication.vue b/front/src/views/personalCenter/components/addApplication.vue index eac0ae00..d8acc87d 100644 --- a/front/src/views/personalCenter/components/addApplication.vue +++ b/front/src/views/personalCenter/components/addApplication.vue @@ -288,6 +288,8 @@ formName.demandSubject = res.data.data.demandSubject formName.detailsType = res.data.data.detailsType formName.detailsField = res.data.data.detailsField + .split(';') + .filter((val) => val) formName.demandDetails = res.data.data.demandDetails formName.enclosure = res.data.data.enclosure fileList.value = [ @@ -348,7 +350,7 @@ formName.enclosure = info.file.response.data } else if (info.file.status === 'error') { formName.enclosure = '' - fileList.value=[] + fileList.value = [] message.error(`${info.file.name} 文件上传失败`) } }