fix: 金额显示保留1位小数
This commit is contained in:
parent
7a92c0d430
commit
a7dd51400c
|
|
@ -87,7 +87,7 @@ export default function Home() {
|
|||
const formatMoney = (val) => {
|
||||
if (!val || val === 0) return '0'
|
||||
const v = val / 10000
|
||||
return v.toFixed(4)
|
||||
return v.toFixed(1)
|
||||
}
|
||||
|
||||
const statCards = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue