fix issue

This commit is contained in:
liangping 2022-08-22 11:01:12 +08:00
parent 0380598f4f
commit 97c30a4853

View File

@ -238,7 +238,7 @@ export default {
return v2
}
const d = parseFloat(v)
if (d === 0) return 0
if (d === 0) return '0'
if (d < 1.01) {
return `${percent(d)}%`
}