diff --git a/client/src/pages/BossPage.tsx b/client/src/pages/BossPage.tsx index dbc435f..5692ff5 100644 --- a/client/src/pages/BossPage.tsx +++ b/client/src/pages/BossPage.tsx @@ -169,7 +169,7 @@ export function BossPage() { v >= 10000 ? `${(v / 10000).toFixed(0)}万` : v} tick={{ fontSize: 10 }} /> - formatCurrency(v)} /> + label} formatter={(v: any) => [formatCurrency(v), '金额']} /> { const { x, y, width, height, payload, fill } = props if (!payload.value || payload.value === 0) return