diff --git a/utils/uniMP.js b/utils/uniMP.js index d884554..6872c60 100644 --- a/utils/uniMP.js +++ b/utils/uniMP.js @@ -55,16 +55,12 @@ const loadMP = async (id) => { } }); downloadTask.onProgressUpdate((res) => { - console.log('下载进度' + res.progress); + // console.log('下载进度' + res.progress); if (res.progress > count) count += 10; if (count >= 90) { clearInterval(timer); timer = null; } - // 满足测试条件,取消下载任务。 - // if (res.progress > 50) { - // downloadTask.abort(); - // } }); } else { open()