mirror of https://github.com/openspug/spug
fix issue
parent
9510897ecc
commit
3b8e448a96
|
@ -121,7 +121,7 @@ class FileManager extends React.Component {
|
||||||
const token = uniqueId();
|
const token = uniqueId();
|
||||||
this._updatePercent(token);
|
this._updatePercent(token);
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
formData.append('id', this.id);
|
formData.append('id', this.props.id);
|
||||||
formData.append('token', token);
|
formData.append('token', token);
|
||||||
formData.append('path', '/' + this.state.pwd.join('/'));
|
formData.append('path', '/' + this.state.pwd.join('/'));
|
||||||
this.input.value = '';
|
this.input.value = '';
|
||||||
|
|
Loading…
Reference in New Issue