From ff3c5f8581da9d2ed63b160d1ee764f0a416f86b Mon Sep 17 00:00:00 2001 From: Vben Date: Fri, 18 Oct 2024 22:09:41 +0800 Subject: [PATCH] fix: form does not take effect in vertical layout (#4680) --- packages/@core/ui-kit/form-ui/src/form-render/form-field.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue index 091bcc87..17c85aea 100644 --- a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue +++ b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue @@ -281,7 +281,7 @@ function autofocus() { 'mr-2 flex-shrink-0 justify-end': !isVertical, 'flex-row': isVertical, }, - !isVertical && labelClass, + labelClass, ) " :help="help"