Merge remote-tracking branch 'origin/build' into build

This commit is contained in:
aixianling
2023-01-30 14:41:32 +08:00

View File

@@ -405,7 +405,7 @@
tarValue = data[i].value
}
}
let p = total === 0 ? 0 : (tarValue / total * 100).toFixed(0)
let p = total === 0 ? 0 : (tarValue / total * 100).toFixed(2)
return name + '' + tarValue + ' ' + p + '%'
}
},