mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
fix: core-initial-state
This commit is contained in:
parent
236ad0ab43
commit
154e2787d5
@ -36,7 +36,7 @@ const Mihomo: React.FC = () => {
|
||||
const {
|
||||
core = 'mihomo',
|
||||
specificVersion,
|
||||
enableSmartCore = true,
|
||||
enableSmartCore = false,
|
||||
enableSmartOverride = true,
|
||||
smartCoreUseLightGBM = false,
|
||||
smartCoreCollectData = false,
|
||||
@ -414,7 +414,7 @@ const Mihomo: React.FC = () => {
|
||||
</SettingItem>
|
||||
|
||||
{/* Smart 覆写开关 */}
|
||||
{enableSmartCore && (
|
||||
{enableSmartCore && core === 'mihomo-smart' && (
|
||||
<SettingItem
|
||||
title={
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user