From b1c6383f31550f0ce72a2e099f9631ca2cd65ca2 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 8 Aug 2022 17:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E9=9C=80=E6=B1=82bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/personalCenter/components/addApplication.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) {