fix(settings): Radio.Group 添加 optionType="button" 启用按钮渲染

This commit is contained in:
2026-06-06 23:12:57 +08:00
parent e3a9a6b47f
commit c0384f9a07

View File

@@ -56,6 +56,7 @@ export function SettingsPage() {
<Radio.Group
buttonStyle="solid"
onChange={(e) => handleThemeChange(parseThemePreference(e.target.value))}
optionType="button"
options={THEME_OPTIONS.map((o) => ({ label: o.label, value: o.value }))}
value={preference}
/>