fix: correct mixed-port configuration issues

This commit is contained in:
Memory 2025-11-18 22:10:47 +08:00 committed by GitHub
parent fb33f37652
commit 485a936d83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -695,7 +695,9 @@ const Mihomo: React.FC = () => {
max={65535} max={65535}
min={0} min={0}
onValueChange={(v) => { onValueChange={(v) => {
patchAppConfig({ showMixedPort: parseInt(v) }) const port = parseInt(v)
setMixedPortInput(port)
patchAppConfig({ showMixedPort: port })
setIsManualPortChange(true) setIsManualPortChange(true)
}} }}
/> />