Commit 9f9629d2 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Upload: fix handleRemove param error

parent 848346c9
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment