Commit 86a36ecb by 前端

toFixed处理

1 parent 71adb487
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
if (this.maleCount + this.femaleCount == 0){ if (this.maleCount + this.femaleCount == 0){
return 0 return 0
}else { }else {
return 100 - this.malePercentage; return (100 - this.malePercentage).toFixed(2);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!