|
@ -124,7 +124,7 @@ export function confirm(downUrl) { |
|
|
showLoading.setTitle("已连接到服务器"); |
|
|
showLoading.setTitle("已连接到服务器"); |
|
|
break; |
|
|
break; |
|
|
case 3: |
|
|
case 3: |
|
|
if (task.totalSize && > task.totalSize0) { |
|
|
if (task.totalSize && task.totalSize > 0) { |
|
|
prg = parseInt( |
|
|
prg = parseInt( |
|
|
(parseFloat(task.downloadedSize) / |
|
|
(parseFloat(task.downloadedSize) / |
|
|
parseFloat(task.totalSize)) * |
|
|
parseFloat(task.totalSize)) * |
|
|