Skip to content
Snippets Groups Projects
Unverified Commit b9b6212b authored by GyDi's avatar GyDi
Browse files

fix: try fix undefined error

parent b978aaec
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ const ProxyPage = () => {
return ["rule", "global", "direct", "script"];
}, [verge?.clash_core]);
const curMode = clashConfig?.mode.toLowerCase();
const curMode = clashConfig?.mode?.toLowerCase();
const onChangeMode = useLockFn(async (mode: string) => {
// 断开连接
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment