From a0a4e65d5e097cf8e47befb266d71b13d25beeca Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 11 Mar 2024 16:27:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=88=87=E7=89=87=E8=B7=B3=E8=BF=87=E4=B8=8D=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=9D=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tool/file.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/tool/file.ts b/src/api/tool/file.ts index 1841051b..d19717cd 100644 --- a/src/api/tool/file.ts +++ b/src/api/tool/file.ts @@ -130,6 +130,7 @@ export async function uploadFileChunk( const chunksIndex = `${index}`; // 跳过已上传块 if (resCheck.data.includes(chunksIndex)) { + uploadedSize += chunk.size; continue; }