diff --git a/src/uploader/index.js b/src/uploader/index.js index f232eeb70..3dfb8b3ea 100644 --- a/src/uploader/index.js +++ b/src/uploader/index.js @@ -144,12 +144,13 @@ export default createComponent({ }, onAfterRead(files, oversize) { + this.resetInput(); + if (oversize) { this.$emit('oversize', files, this.getDetail()); return; } - this.resetInput(); this.$emit('input', [...this.fileList, ...toArray(files)]); if (this.afterRead) {