Browse Source

optimization: the view of progress

tags/v1.21.12.1
yuyuanshifu 5 years ago
parent
commit
31d6c3627c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web_src/js/App.vue

+ 1
- 1
web_src/js/App.vue View File

@@ -234,7 +234,7 @@
if (currentChunk < chunks) {
console.log(`第${currentChunk}个分片上传完成, 开始第${currentChunk +1}/${chunks}个分片上传`);
this.progress = Math.ceil(currentChunk / chunks)*100;
this.progress = Math.ceil((currentChunk / chunks)*100);
await loadNext();
} else {
await completeUpload();


Loading…
Cancel
Save