diff --git a/src/pages/proxies.tsx b/src/pages/proxies.tsx index 767b360..d9d5d21 100644 --- a/src/pages/proxies.tsx +++ b/src/pages/proxies.tsx @@ -33,7 +33,7 @@ const ProxyPage = () => { }, [proxiesData]); const modeList = ["rule", "global", "direct"]; - const asGroup = curMode === "rule" || !groups.length; + const asGroup = curMode === "rule" && groups.length; // make sure that fetch the proxies successfully useEffect(() => {