mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 22:28:42 +08:00
1 parent
4e438a44f1
commit
d003883de9
1 file changed
+4
@@ -42,6 +42,10 @@ export const ClashPortViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
setOpen(false);
|
||||
return;
|
||||
}
|
||||
if (mixedPort === socksPort || mixedPort === port || socksPort === port) {
|
||||
Notice.error("Port conflict!", 4000);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await patchInfo({ "mixed-port": mixedPort });
|
||||
await patchInfo({ "socks-port": socksPort });
|
||||
|
||||
Reference in new issue
Block a user