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

This commit is contained in:
TsMask
2024-03-11 16:27:41 +08:00
parent a6751424a5
commit a0a4e65d5e

View File

@@ -130,6 +130,7 @@ export async function uploadFileChunk(
const chunksIndex = `${index}`;
// 跳过已上传块
if (resCheck.data.includes(chunksIndex)) {
uploadedSize += chunk.size;
continue;
}