<el-upload
class="upload-demo"
list-type="picture"
accept="image/*"
:show-file-list="false"
:multiple="false"
:auto-upload="false"
action="https://jsonplaceholder.typicode.com/posts/"
:on-change="(file, fileList) => {handleChange(file, fileList, item)}"
:on-preview="handlePreview">
<a size="small" type="primary">点击修改</a>
</el-upload>
其中item为自定义参数