From c5c6760b5dc8438127dbe0aea0095730a10f0b19 Mon Sep 17 00:00:00 2001 From: Netfan Date: Tue, 18 Feb 2025 15:41:16 +0800 Subject: [PATCH 1/2] chore: eslint rules update --- internal/lint-configs/eslint-config/src/configs/javascript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lint-configs/eslint-config/src/configs/javascript.ts b/internal/lint-configs/eslint-config/src/configs/javascript.ts index f6b767fe..44cf5b6e 100644 --- a/internal/lint-configs/eslint-config/src/configs/javascript.ts +++ b/internal/lint-configs/eslint-config/src/configs/javascript.ts @@ -174,7 +174,7 @@ export async function javascript(): Promise { ], 'no-use-before-define': [ 'error', - { classes: false, functions: false, variables: true }, + { classes: false, functions: false, variables: false }, ], 'no-useless-backreference': 'error', 'no-useless-call': 'error', 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 2/2] 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); } }