Commit 17d88aab authored by Xuguangxing's avatar Xuguangxing

fix: 进度条修改

parent 4edb7a40
...@@ -86,7 +86,6 @@ export default { ...@@ -86,7 +86,6 @@ export default {
if (isNaN(percentage)) { if (isNaN(percentage)) {
return 0; return 0;
} else { } else {
alert(Math.floor(percentage) >= 1 ? 100 : Math.floor(percentage * 100));
return Math.floor(percentage) >= 1 ? 100 : Math.floor(percentage * 100); return Math.floor(percentage) >= 1 ? 100 : Math.floor(percentage * 100);
} }
}, },
...@@ -138,7 +137,6 @@ export default { ...@@ -138,7 +137,6 @@ export default {
} }
}); });
} catch (err) { } catch (err) {
alert(err);
alert(JSON.stringify(err)); alert(JSON.stringify(err));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment