fix: 文件上传切片跳过不合并数据块问题

This commit is contained in:
TsMask committed 2024-03-11 16:27:41 +08:00
1 parent a6751424a5
commit a0a4e65d5e
1 file changed
+1
+1
View File
@@ -130,6 +130,7 @@ export async function uploadFileChunk(
const chunksIndex = `${index}`;
// 跳过已上传块
if (resCheck.data.includes(chunksIndex)) {
uploadedSize += chunk.size;
continue;
}