upload组件中定义一个ref=“upload” //表单提交 this.$refs.upload.uploadFiles = [] const param = new FormData() param.append('file', item.raw)