This commit is contained in:
xuyue committed 2025-05-09 21:04:56 +08:00
1 parent 14462000c5
commit 477197faef
2 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export function getACRateNumber(acCount: number, totalCount: number) {
if (acCount >= totalCount) rate = "100.00"
else rate = ((acCount / totalCount) * 100).toFixed(2)
}
return Number(rate)
return parseFloat(rate)
}
export function filterEmptyValue(object: any) {