diff --git a/web_src/js/components/MinioUploader.vue b/web_src/js/components/MinioUploader.vue index 95f5e7e59..b47700e20 100755 --- a/web_src/js/components/MinioUploader.vue +++ b/web_src/js/components/MinioUploader.vue @@ -193,6 +193,9 @@ export default { const time = new Date().getTime(); this.status = this.dropzoneParams.data('md5-computing'); file.totalChunkCounts = chunks; + if (file.size==0) { + file.totalChunkCounts = 1 + } loadMd5Next(); fileReader.onload = (e) => {