mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Upload: fix handleRemove param error
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user