!1004 多文件上传场景未记录index问题修复

Merge pull request !1004 from fqwert/index
This commit is contained in:
openharmony_ci 2024-09-29 07:21:12 +00:00 committed by Gitee
commit ad59502249
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -240,7 +240,7 @@ impl RequestTask {
} else {
progress.processed[index] = 0;
}
progress.common_data.index = index;
progress.common_data.total_processed = progress.processed.iter().take(index).sum();
}