fix: solve the problem of inconsistent returns of formSchema custom field names when code login (#5563)
This commit is contained in:
parent
c5c6760b5d
commit
ccd99eb24d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user