From a3f8cd8f96b9fb887186a6dd95bc08affe5137fd Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 10 Mar 2026 19:32:56 +0800 Subject: [PATCH] =?UTF-8?q?style(login):=20=E4=BC=98=E5=8C=96=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8C=89=E9=92=AE=E7=9A=84=E6=A0=B7=E5=BC=8F=E7=B1=BB?= =?UTF-8?q?=E5=90=8D=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 cn 工具函数替代手动拼接样式类名,使代码更简洁易读 --- packages/effects/common-ui/src/ui/authentication/login.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/effects/common-ui/src/ui/authentication/login.vue b/packages/effects/common-ui/src/ui/authentication/login.vue index 9fbe73b8..2dcdebe2 100644 --- a/packages/effects/common-ui/src/ui/authentication/login.vue +++ b/packages/effects/common-ui/src/ui/authentication/login.vue @@ -10,7 +10,7 @@ import { $t } from '@vben/locales'; import { useVbenForm } from '@vben-core/form-ui'; import { VbenButton, VbenCheckbox } from '@vben-core/shadcn-ui'; -import { cloneDeep } from '@vben-core/shared/utils'; +import { cloneDeep, cn } from '@vben-core/shared/utils'; import Title from './auth-title.vue'; import ThirdPartyLogin from './third-party-login.vue'; @@ -134,9 +134,7 @@ defineExpose({