From ee3a866a2755d47323e88eced909614d05616bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Thu, 18 Sep 2025 21:45:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=8C=89=E9=92=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ChatInputBox/ChatInputBox.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/components/ChatInputBox/ChatInputBox.tsx b/components/ChatInputBox/ChatInputBox.tsx index 6926fd2..76ef54f 100644 --- a/components/ChatInputBox/ChatInputBox.tsx +++ b/components/ChatInputBox/ChatInputBox.tsx @@ -392,15 +392,14 @@ export function ChatInputBox({ noData }: { noData: boolean }) { {/* 剧本扩展开关 */}
- {/* Script Expansion */} - onConfigChange('expansion_mode', checked)} - style={{ - backgroundColor: 'rgba(255,255,255,0.45)', - }} - /> + {/* 仅在未选中时显示背景色,避免覆盖选中态 */} +
+ onConfigChange('expansion_mode', checked)} + /> +
{configOptions.expansion_mode ? 'On' : 'Off'}