mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
fix: try fix undefined error
This commit is contained in:
parent
b978aaec21
commit
b9b6212b75
|
@ -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) => {
|
||||
// 断开连接
|
||||
|
|
Loading…
Reference in New Issue
Block a user