chore:首页兼容了屏幕大小变化 流量混淆嵌套加密等tips弹窗 跟随变化

This commit is contained in:
liyuanhu 2025-04-27 11:38:01 +08:00
parent 91a7ca8c4b
commit 21d8ddabf1

View File

@ -184,11 +184,9 @@ const NewHome = () => {
}
setIsProxyLoading(true);
console.log("????");
// 切换代理状态
await dispatch(isProxyEnabled ? disableProxy() : enableProxy()).unwrap();
} catch (error) {
console.log(error, "error");
const errorMessage = isProxyEnabled
? "关闭代理失败!"
: "开启代理失败,请检查节点配置、或重新尝试开启";