From 5d693bf0b50663af53c6955e5e1836d034c25ae8 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Fri, 19 May 2023 16:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=20=E4=B8=8B=E8=BD=BDapp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/login.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/home/login.vue b/pages/home/login.vue index be7c056..27aad62 100644 --- a/pages/home/login.vue +++ b/pages/home/login.vue @@ -181,9 +181,8 @@ export default { console.log(dtask,'--dtask----') if(dtask){ dtask.addEventListener("statechanged",e=>{ - console.log("totalSize",e.totalSize) + console.log(`totalSize:${e.totalSize};downloadedSize:${e.downloadedSize}`) if(e&&e.totalSize>0){ - console.log("state",e.state,";","downloadedSize",e.downloadedSize) this.modalOptions.process=Math.floor((e.downloadedSize/e.totalSize)*10000)/100 } },false)