From ccd99eb24d6f1583ac6c456fd4895268cee4cf05 Mon Sep 17 00:00:00 2001 From: anyup <85225562+anyup@users.noreply.github.com> Date: Thu, 20 Feb 2025 09:09:32 +0800 Subject: [PATCH] fix: solve the problem of inconsistent returns of formSchema custom field names when code login (#5563) --- .../effects/common-ui/src/ui/authentication/code-login.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/effects/common-ui/src/ui/authentication/code-login.vue b/packages/effects/common-ui/src/ui/authentication/code-login.vue index 81bacaa8..5dce7402 100644 --- a/packages/effects/common-ui/src/ui/authentication/code-login.vue +++ b/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); } }