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'}