This commit is contained in:
rickcole 2020-08-10 23:53:40 +08:00
parent b8b3f1b283
commit f60aebaa76
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ export default class ImageControl extends React.Component<
cb: (error: null | string, file: Blob, obj?: FileValue) => void,
onProgress: (progress: number) => void
) {
const {translate: __} = this.props;
const __ = this.props.translate;
this._send(file, this.props.reciever as string, {}, onProgress)
.then((ret: Payload) => {
if (ret.status) {