Upload: fix handleRemove param error

This commit is contained in:
Leopoldthecoder
2017-09-18 12:37:32 +08:00
committed by 杨奕
parent 848346c954
commit 9f9629d2bb

View File

@@ -90,12 +90,12 @@ export default {
this.post(rawFile);
}
}, () => {
this.onRemove(rawFile, true);
this.onRemove(null, rawFile);
});
} else if (before !== false) {
this.post(rawFile);
} else {
this.onRemove(rawFile, true);
this.onRemove(null, rawFile);
}
},
abort(file) {