mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
fix: Can't switch env type
This commit is contained in:
parent
01a9cda99a
commit
4a5aa1bcc1
@ -111,7 +111,7 @@ const SettingVerge = ({ onError }: Props) => {
|
||||
|
||||
<SettingItem label={t("Copy Env Type")}>
|
||||
<GuardState
|
||||
value={env_type ?? OS === "windows" ? "powershell" : "bash"}
|
||||
value={env_type ?? (OS === "windows" ? "powershell" : "bash")}
|
||||
onCatch={onError}
|
||||
onFormat={(e: any) => e.target.value}
|
||||
onChange={(e) => onChangeData({ env_type: e })}
|
||||
|
Loading…
x
Reference in New Issue
Block a user