feat: add `form-is-required` class for required items. fixed: #5739 (#5759)

pull/62/head
Netfan 2025-03-21 09:25:38 +08:00 committed by YunaiV
parent 1e6dbeed68
commit 47d821d179
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ onUnmounted(() => {
v-show="isShow"
:class="{
'form-valid-error': isInValid,
'form-is-required': shouldRequired,
'flex-col': isVertical,
'flex-row items-center': !isVertical,
'pb-6': !compact,