1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

repair upload bug

This commit is contained in:
shanshuirenjia
2019-05-21 15:26:57 +08:00
parent 8b7d57da1e
commit e1a9dc60be

View File

@@ -378,9 +378,6 @@ class FileUploader extends React.Component {
}
setHeaders = (resumableFile, resumable) => {
if (resumableFile.formData.replace) {
return [];
}
let offset = resumable.offset;
let chunkSize = resumable.getOpt('chunkSize');
let fileSize = resumableFile.size;