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.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) {
|
||||||
|
|
Loading…
Reference in New Issue