新增财务仪表盘并统一金额到角

This commit is contained in:
yml
2026-06-09 00:13:03 +08:00
parent a2a0489158
commit 2dfa2611fd
40 changed files with 1324 additions and 70 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import { formatMoneyWithSymbol } from '@/shared/utils/money'
export function useMoney() {
return (value: number | undefined | null) => `¥${Math.round(Number(value || 0))}`
return (value: number | undefined | null) => formatMoneyWithSymbol(value)
}