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)