fix: 金额显示保留1位小数

This commit is contained in:
甲辰生产 2026-04-08 13:02:50 +08:00
parent 7a92c0d430
commit a7dd51400c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export default function Home() {
const formatMoney = (val) => { const formatMoney = (val) => {
if (!val || val === 0) return '0' if (!val || val === 0) return '0'
const v = val / 10000 const v = val / 10000
return v.toFixed(4) return v.toFixed(1)
} }
const statCards = [ const statCards = [