element 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>

推荐阅读更多精彩内容