未验证 提交 173275c5 编写于 作者: hbcui1984's avatar hbcui1984 提交者: GitHub

Update network-file.md

上级 31c23d44
......@@ -234,7 +234,7 @@ downloadTask.onProgressUpdate((res) => {
console.log('已经下载的数据长度' + res.totalBytesWritten);
console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
// 测试条件,取消下载任务。
// 满足测试条件,取消下载任务。
if (res.progress > 50) {
downloadTask.abort();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册