fix: miss await

This commit is contained in:
dap 2024-10-06 00:00:27 +08:00
parent ec51614224
commit 7a5af784c4

View File

@ -80,7 +80,7 @@ async function handleSubmit() {
if (!valid) { if (!valid) {
return; return;
} }
const data = formApi.getValues(); const data = await formApi.getValues();
await userResetPassword(data as any); await userResetPassword(data as any);
emit('reload'); emit('reload');
handleCancel(); handleCancel();