Commit ccd99eb2 by anyup Committed by GitHub

fix: solve the problem of inconsistent returns of formSchema custom field names …

…when code login (#5563)
1 parent c5c6760b
...@@ -70,10 +70,7 @@ async function handleSubmit() { ...@@ -70,10 +70,7 @@ async function handleSubmit() {
const { valid } = await formApi.validate(); const { valid } = await formApi.validate();
const values = await formApi.getValues(); const values = await formApi.getValues();
if (valid) { if (valid) {
emit('submit', { emit('submit', values);
code: values?.code,
phoneNumber: values?.phoneNumber,
});
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!