diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index b172e2f..a5f2202 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -3469,36 +3469,38 @@ function SettingsPage({ onClose }: SettingsPageProps = {}) { -
- - {aiInsightFilterMode === 'whitelist' - ? '白名单模式(仅对名单内会话生效)' - : '黑名单模式(名单内会话将被忽略)'} - -
-
setInsightFilterModeDropdownOpen(!insightFilterModeDropdownOpen)} - > - - {aiInsightFilterMode === 'whitelist' ? '白名单模式' : '黑名单模式'} - - -
-
- {[ - { value: 'whitelist', label: '白名单模式' }, - { value: 'blacklist', label: '黑名单模式' } - ].map(option => ( -
{ void saveFilterMode(option.value as configService.AiInsightFilterMode) }} - > - {option.label} - {aiInsightFilterMode === option.value && } -
- ))} +
+
+ + {aiInsightFilterMode === 'whitelist' + ? '白名单模式(仅对名单内会话生效)' + : '黑名单模式(名单内会话将被忽略)'} + +
+
setInsightFilterModeDropdownOpen(!insightFilterModeDropdownOpen)} + > + + {aiInsightFilterMode === 'whitelist' ? '白名单模式' : '黑名单模式'} + + +
+
+ {[ + { value: 'whitelist', label: '白名单模式' }, + { value: 'blacklist', label: '黑名单模式' } + ].map(option => ( +
{ void saveFilterMode(option.value as configService.AiInsightFilterMode) }} + > + {option.label} + {aiInsightFilterMode === option.value && } +
+ ))} +