Upload: fix handleRemove param error

pull/7129/head
Leopoldthecoder 2017-09-18 12:37:32 +08:00 committed by 杨奕
parent 848346c954
commit 9f9629d2bb
1 changed files with 2 additions and 2 deletions

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) {