mirror of https://github.com/ElemeFE/element
Upload: fix handleRemove param error
parent
848346c954
commit
9f9629d2bb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue