Browse Source

判断修改

hella_vue3
zhang_li 7 months ago
parent
commit
6f09def9de
  1. 2
      src/common/appUpdate.js

2
src/common/appUpdate.js

@ -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)) *

Loading…
Cancel
Save