fix: solve the problem of inconsistent returns of formSchema custom field names when code login (#5563)

This commit is contained in:
anyup
2025-02-20 09:09:32 +08:00
committed by GitHub
parent c5c6760b5d
commit ccd99eb24d

View File

@@ -70,10 +70,7 @@ async function handleSubmit() {
const { valid } = await formApi.validate();
const values = await formApi.getValues();
if (valid) {
emit('submit', {
code: values?.code,
phoneNumber: values?.phoneNumber,
});
emit('submit', values);
}
}