element-ui 的 upload组件的clearFiles方法调用方法
<template> <div> <el-button @click="clearUploadedImage">重新上传</el-button> <el-upload ref="upload"></el-upload> </div> </template> <script> export default { methods: { clearUploadedImage () { this.$refs.upload.clearFiles(); } } } </script>