feat: support more options for remote profile

This commit is contained in:
GyDi
2022-03-10 02:03:55 +08:00
parent afe767e28a
commit ca0e936f7c
7 changed files with 135 additions and 28 deletions

View File

@@ -98,7 +98,7 @@ const ProfileItem = (props: Props) => {
if (loading) return;
setLoading(true);
try {
await updateProfile(itemData.uid, withProxy);
await updateProfile(itemData.uid, { with_proxy: withProxy });
setLoading(false);
mutate("getProfiles");
} catch (err: any) {