fix: 文件上传切片跳过不合并数据块问题
This commit is contained in:
@@ -130,6 +130,7 @@ export async function uploadFileChunk(
|
|||||||
const chunksIndex = `${index}`;
|
const chunksIndex = `${index}`;
|
||||||
// 跳过已上传块
|
// 跳过已上传块
|
||||||
if (resCheck.data.includes(chunksIndex)) {
|
if (resCheck.data.includes(chunksIndex)) {
|
||||||
|
uploadedSize += chunk.size;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user