From bfe3ab96dd9f5102f09c04377841181646b665f3 Mon Sep 17 00:00:00 2001 From: vben Date: Fri, 18 Oct 2024 22:02:08 +0800 Subject: [PATCH] fix: form does not take effect in vertical layout --- 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 091bcc87257..17c85aea5f8 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"