Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

fix: abnormal percentage display. #120

Merged
merged 1 commit into from
Mar 18, 2020
Merged

Conversation

wuruii
Copy link
Contributor

@wuruii wuruii commented Mar 12, 2020

http://issue.xsky.com/browse/WIZARD-5192?filter=-1

问题原因:calcPercent 中先将 percent * 100 了,所以小于 0.01% 的判断应该为 percent < 0.01;
所以之前 0.0001~0.000001 之间的没法正常显示为 0.01%

@netlify
Copy link

netlify bot commented Mar 12, 2020

Deploy preview for wizard-ui ready!

Built with commit 85a5bf3

https://deploy-preview-120--wizard-ui.netlify.com

@wangkailang wangkailang merged commit be61deb into master Mar 18, 2020
@wangkailang wangkailang deleted the fix/usageBar-percent branch March 18, 2020 03:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1-Review Code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants