fix(user): reset form values after submission

This commit is contained in:
chenos 2022-11-25 09:33:20 +08:00
parent d610297f8c
commit c106565c59

View File

@ -30,6 +30,7 @@ const useSaveCurrentUserValues = () => {
await api.resource('users').changePassword({
values: form.values,
});
await form.reset();
setVisible(false);
},
};