diff --git a/client/src/pages/TimePage.tsx b/client/src/pages/TimePage.tsx index 51d1b88..e9f7cbe 100644 --- a/client/src/pages/TimePage.tsx +++ b/client/src/pages/TimePage.tsx @@ -123,8 +123,8 @@ export function TimePage() { `${v}:00`} tick={{ fontSize: 10 }} /> - v >= 10000 ? `${(v / 10000).toFixed(0)}万` : v} tick={{ fontSize: 10 }} /> - v >= 10000 ? `${(v / 10000).toFixed(0)}万` : v} tick={{ fontSize: 10 }} /> + v >= 10000 ? `${(v / 10000).toFixed(0)}万` : v} tick={{ fontSize: 10 }} domain={[0, (max: number) => Math.ceil(max * 1.15 / 10000) * 10000]} /> + v >= 10000 ? `${(v / 10000).toFixed(0)}万` : v} tick={{ fontSize: 10 }} domain={[0, (max: number) => Math.ceil(max * 1.15 / 10000) * 10000]} /> `${v}:00`} formatter={(v: any, name: any) => name === '实收' ? formatCurrency(v) : formatNumber(v)} />