头部信息

This commit is contained in:
超级老白兔
2025-08-15 17:53:42 +08:00
parent 9cd285223b
commit 94196b1fe3
2 changed files with 8 additions and 9 deletions

View File

@@ -43,14 +43,6 @@ const LineChart: React.FC<LineChartProps> = ({
lineStyle: { color: "#1677ff" },
itemStyle: { color: "#1677ff" },
},
{
data: [3, 99, 12, 14, 8, 0, 0],
type: "line",
smooth: true,
symbol: "circle",
lineStyle: { color: "green" },
itemStyle: { color: "red" },
},
],
grid: { left: 40, right: 24, top: 40, bottom: 32 },
};

View File

@@ -14,7 +14,6 @@ import {
import NavCommon from "@/components/NavCommon";
import {
fetchDistributionRuleList,
updateDistributionRule,
toggleDistributionRuleStatus,
deleteDistributionRule,
} from "./api";
@@ -288,6 +287,14 @@ const TrafficDistributionList: React.FC = () => {
</div>
</div>
<div className={style.ruleStatsItem}>
<span style={{ fontSize: 16, fontWeight: 600 }}>
{item.config?.total?.totalUsers || 0}
</span>
<div style={{ fontSize: 13, color: "#888", marginTop: 2 }}>
</div>
</div>
</div>
<div className={style.ruleFooter}>
<span>