From 590a5a17d454551a8034453ecb206b4a28350fd5 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Fri, 12 Sep 2025 21:11:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4StatsBar=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E7=9A=84=E7=82=B9=E4=BA=AE=E5=9C=B0=E5=8C=BA?= =?UTF-8?q?=E7=89=88=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sections/StatsBar.tsx | 30 ++-------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/src/components/sections/StatsBar.tsx b/src/components/sections/StatsBar.tsx index b8a8b31..4ef11ed 100644 --- a/src/components/sections/StatsBar.tsx +++ b/src/components/sections/StatsBar.tsx @@ -17,7 +17,6 @@ interface StatsBarProps { displayOptions: { currentTime: boolean; currentOnline: boolean; - regionOverview: boolean; trafficOverview: boolean; networkSpeed: boolean; }; @@ -90,21 +89,7 @@ export const StatsBar = ({ ) ); - case "regionOverview": - return ( - displayOptions.regionOverview && ( -
-
- - -
-
- ) - ); + // 已删除"点亮地区"版块 case "trafficOverview": return ( displayOptions.trafficOverview && ( @@ -191,18 +176,7 @@ export const StatsBar = ({ } /> - - 点亮地区 - - setDisplayOptions({ - ...displayOptions, - regionOverview: checked, - }) - } - /> - + {/* 已移除点亮地区选项 */} 流量概览