[new feature] Uploader: oversize event add detail param

This commit is contained in:
陈嘉涵
2019-05-22 15:50:39 +08:00
parent a66297200c
commit 10f82b4a40
2 changed files with 7 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ export default sfc({
onAfterRead(files, oversize) {
if (oversize) {
this.$emit('oversize', files);
this.$emit('oversize', files, this.detail);
} else {
this.afterRead && this.afterRead(files, this.detail);
}