diff --git a/src/renderer/src/pages/mihomo.tsx b/src/renderer/src/pages/mihomo.tsx index ce0e85d..ef4a7c9 100644 --- a/src/renderer/src/pages/mihomo.tsx +++ b/src/renderer/src/pages/mihomo.tsx @@ -207,7 +207,11 @@ const Mihomo: React.FC = () => { className="w-[100px]" size="sm" aria-label={t('mihomo.selectCoreVersion')} - selectedKeys={new Set([core])} + selectedKeys={new Set([ + enableSmartCore + ? 'mihomo-smart' + : (core === 'mihomo-smart' ? 'mihomo' : core) + ])} disallowEmptySelection={true} onSelectionChange={async (v) => { handleConfigChangeWithRestart('core', v.currentKey as 'mihomo' | 'mihomo-alpha' | 'mihomo-smart')