fix: 文件上传切片跳过不合并数据块问题
This commit is contained in:
1 parent
a6751424a5
commit
a0a4e65d5e
1 file changed
+1
@@ -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