fix issue

pull/330/head
vapao 2021-04-28 15:30:31 +08:00
parent 9510897ecc
commit 3b8e448a96
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class FileManager extends React.Component {
const token = uniqueId();
this._updatePercent(token);
formData.append('file', file);
formData.append('id', this.id);
formData.append('id', this.props.id);
formData.append('token', token);
formData.append('path', '/' + this.state.pwd.join('/'));
this.input.value = '';