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

Upload: fix handleRemove param error

parent 848346c9
...@@ -90,12 +90,12 @@ export default { ...@@ -90,12 +90,12 @@ export default {
this.post(rawFile); this.post(rawFile);
} }
}, () => { }, () => {
this.onRemove(rawFile, true); this.onRemove(null, rawFile);
}); });
} else if (before !== false) { } else if (before !== false) {
this.post(rawFile); this.post(rawFile);
} else { } else {
this.onRemove(rawFile, true); this.onRemove(null, rawFile);
} }
}, },
abort(file) { 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