mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
parent
4e438a44f1
commit
d003883de9
@ -42,6 +42,10 @@ export const ClashPortViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
setOpen(false);
|
setOpen(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (mixedPort === socksPort || mixedPort === port || socksPort === port) {
|
||||||
|
Notice.error("Port conflict!", 4000);
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
await patchInfo({ "mixed-port": mixedPort });
|
await patchInfo({ "mixed-port": mixedPort });
|
||||||
await patchInfo({ "socks-port": socksPort });
|
await patchInfo({ "socks-port": socksPort });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user