From 460d17f07f1865dfc786b1aa19b7e6874260e91c Mon Sep 17 00:00:00 2001 From: kkfluous Date: Thu, 2 Apr 2026 11:59:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=88=E5=B9=B6=E5=9B=BE=E4=BE=8B?= =?UTF-8?q?=E5=88=B0=E6=89=B9=E6=AC=A1=E6=A0=8F=EF=BC=8C=E5=8E=8B=E7=BC=A9?= =?UTF-8?q?=E9=97=B4=E8=B7=9D=EF=BC=8C=E6=9C=80=E5=A4=A7=E5=8C=96=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=8F=AF=E8=A7=81=E8=A1=8C=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/modules/mileage/MonitoringView.tsx | 48 ++++++++++---------------- 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/src/modules/mileage/MonitoringView.tsx b/src/modules/mileage/MonitoringView.tsx index 5aea1a3..aad7a0d 100644 --- a/src/modules/mileage/MonitoringView.tsx +++ b/src/modules/mileage/MonitoringView.tsx @@ -320,40 +320,30 @@ export default function MonitoringView() { - {/* Batch selector */} -
- - {filterOptions.targetNames.map(n => ( + {/* Batch selector + legend */} +
+
- ))} + onClick={() => setFilterTargetName('All')} + className={`px-2 py-0.5 rounded text-[8px] font-bold transition-all whitespace-nowrap ${filterTargetName === 'All' ? 'bg-blue-600 text-white' : 'bg-slate-800 text-slate-400 hover:bg-slate-700'}`} + >全部 + {filterOptions.targetNames.map(n => ( + + ))} +
+
+ 在线 + 离线 + 未对接 +
{/* Table Area */}
-
-
-
-
- 在线 -
-
-
- 离线 -
-
-
- 未对接 -
- {new Date().toLocaleTimeString()} -
-
{fullscreenLoading && (