feat: 配送物化视图优化查询性能 + 饼图统一处理 + SKU长尾治理明细 + 地图初始聚焦北京

This commit is contained in:
freedakgmail
2026-08-02 08:53:21 +08:00
parent ed7beb7e47
commit 73f12f40d1
20 changed files with 288 additions and 103 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ export function BossPage() {
{!structLoading && pieData.length > 0 && (
<ResponsiveContainer width="100%" height={280}>
<PieChart>
<Pie data={pieData} dataKey="value" nameKey="name" cx="50%" cy="50%" outerRadius={100} label={(e: any) => `${e.name}`}>
<Pie data={pieData} dataKey="value" nameKey="name" cx="50%" cy="50%" outerRadius={80} labelLine={false} label={(e: any) => <tspan fontSize={11}>{e.name}</tspan>}>
{pieData.map((_: any, i: number) => <Cell key={i} fill={PIE_COLORS[i % PIE_COLORS.length]} />)}
</Pie>
<Tooltip formatter={(v: any) => [formatCurrency(v), '金额']} />