feat: use enhanced guard-state

This commit is contained in:
GyDi
2022-02-25 01:22:33 +08:00
parent 678fcfc3a3
commit 961ed728a1
2 changed files with 21 additions and 30 deletions

View File

@@ -91,6 +91,7 @@ const SettingSystem = ({ onError }: Props) => {
onFormat={(e: any) => e.target.value}
onChange={(e) => onChangeData({ system_proxy_bypass: e })}
onGuard={(e) => patchVergeConfig({ system_proxy_bypass: e })}
waitTime={1000}
>
<TextField autoComplete="off" size="small" sx={{ width: 120 }} />
</GuardState>