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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
4 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|