From 099223ab9ac045046710a5a513c17db43d07f885 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Wed, 20 Apr 2022 14:28:15 +0800 Subject: [PATCH] fix bug --- web_src/js/components/MinioUploader.vue | 3 +++ 1 file changed, 3 insertions(+) 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) => {