From ce10befff1494c50b489b3d28c37f00c7da7f14d Mon Sep 17 00:00:00 2001 From: iven Date: Sat, 11 Apr 2026 12:58:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E7=AE=A1=E5=AE=B6=20Tab=20=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=A0=8F=E6=98=BE=E7=A4=BA=E7=AE=A1=E5=AE=B6=E4=B8=93?= =?UTF-8?q?=E5=B1=9E=E6=91=98=E8=A6=81=EF=BC=8C=E4=B8=8D=E5=86=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=81=8A=E5=A4=A9=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/src/components/RightPanel.tsx | 34 ++++++++++++++++++--------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/desktop/src/components/RightPanel.tsx b/desktop/src/components/RightPanel.tsx index d2c85c5..51cc828 100644 --- a/desktop/src/components/RightPanel.tsx +++ b/desktop/src/components/RightPanel.tsx @@ -398,19 +398,31 @@ export function RightPanel({ simpleMode = false }: RightPanelProps) { )} - {/* 消息统计 */} -
-
- - {messageCount} 条消息 - | - {userMsgCount} 用户 / {assistantMsgCount} 助手 + {/* 消息统计 — butler tab 时显示管家专用摘要 */} + {activeTab === 'butler' ? ( +
+
+ 管家模式 +
+
+ {connected ? : } + {runtimeSummary} +
-
- {connected ? : } - {runtimeSummary} + ) : ( +
+
+ + {messageCount} 条消息 + | + {userMsgCount} 用户 / {assistantMsgCount} 助手 +
+
+ {connected ? : } + {runtimeSummary} +
-
+ )}
{activeTab === 'memory' ? (