diff --git a/front/src/views/personalCenter/components/addApplication.vue b/front/src/views/personalCenter/components/addApplication.vue index 3dd9b38f..d347ae86 100644 --- a/front/src/views/personalCenter/components/addApplication.vue +++ b/front/src/views/personalCenter/components/addApplication.vue @@ -162,6 +162,7 @@ :action="upLoadUrl" :headers="headers" @change="handleChange" + :maxCount="1" > - 支持doc、docx、jpg、png、jpeg、pdf、xlxs、ppt类型文件 + 支持doc、docx、jpg、png、jpeg、pdf、xlxs、ppt类型文件(仅限一个) @@ -346,6 +347,13 @@ const fileList = ref([]) const subimtFlag = ref(true) const processStartHandle = () => { + if (formName.detailsField.length > 0) { + let detailsField = '' + formName.detailsField.map((item) => { + detailsField += item + ';' + }) + formName.detailsField = detailsField + } if (id.value) { updateDemandForm(formName).then((upres) => { if (upres.data.code == 0) {