Browse Source

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

pull/5573/head
anyup 12 months ago
committed by GitHub
parent
commit
ccd99eb24d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      packages/effects/common-ui/src/ui/authentication/code-login.vue

5
packages/effects/common-ui/src/ui/authentication/code-login.vue

@ -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…
Cancel
Save