From 16438de52f21af4eaf505e82c72ca9af4e983144 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 4 Sep 2023 18:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/uniMP.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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()