Browse Source

fix upload obs bug

pull/1693/head
lewis 3 years ago
parent
commit
f45cf3c99d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      web_src/js/components/MinioUploader.vue

+ 4
- 0
web_src/js/components/MinioUploader.vue View File

@@ -289,6 +289,8 @@ export default {
const params = { const params = {
params: { params: {
md5: file.uniqueIdentifier, md5: file.uniqueIdentifier,
type: this.uploadtype,
file_name: file.name,
_csrf: csrf _csrf: csrf
} }
}; };
@@ -319,6 +321,7 @@ export default {
size: file.size, size: file.size,
fileType: file.type, fileType: file.type,
type: this.uploadtype, type: this.uploadtype,
file_name: file.name,
_csrf: csrf _csrf: csrf
} }
}); });
@@ -361,6 +364,7 @@ export default {
size: partSize, size: partSize,
chunkNumber: currentChunk + 1, chunkNumber: currentChunk + 1,
type: _this.uploadtype, type: _this.uploadtype,
file_name: file.name,
_csrf: csrf _csrf: csrf
} }
}); });


Loading…
Cancel
Save