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