<el-upload
:show-file-list="false"
ref="upload"
:action="actionUrl"
:on-change="fileChange"
:multiple="false"
:limit="1"
:headers="header"
:on-error="handleAvatarErro"
:auto-upload="true"
:on-success="handleAvatarSuccess"
accept=".bmp,.jpg,.png"
>
在:on-change方法即本文 fileChange方法中最尾端加上下面这句
this.$refs.upload.clearFiles(); // 清空当前 files
即可正常使用