mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
fix: correct mixed-port configuration issues
This commit is contained in:
parent
fb33f37652
commit
485a936d83
@ -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)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user