diff --git a/src/components/DetailComponent/ProjectAttachment.vue b/src/components/DetailComponent/ProjectAttachment.vue index d834566..d235575 100644 --- a/src/components/DetailComponent/ProjectAttachment.vue +++ b/src/components/DetailComponent/ProjectAttachment.vue @@ -273,7 +273,7 @@ const getFile = (val) => { console.log('上传文件', val) let fileObj = compositeParam(val) fileList.value.push(fileObj) - handleSubmit(fileList.value) + handleSubmit([fileObj]) } const handleSubmit = async (list) => {