|
@@ -118,7 +118,7 @@
|
|
|
downloadInfo.timer = setInterval(async () => {
|
|
|
const res = await getDownloadProcessApi({ sceneNum });
|
|
|
console.log('res', res);
|
|
|
- const percent = res.percent;
|
|
|
+ const percent = res.percent && Math.round(res.percent);
|
|
|
downloadInfo.process = percent;
|
|
|
if (res.status === 1000) {
|
|
|
downloadInfo.status = '获取中';
|