diff --git a/components/_util/transition.tsx b/components/_util/transition.tsx index 98903ca36..fd6ebc490 100644 --- a/components/_util/transition.tsx +++ b/components/_util/transition.tsx @@ -27,9 +27,9 @@ export const getTransitionProps = (transitionName: string, opt: TransitionProps // appearFromClass: `${transitionName}-appear ${transitionName}-appear-prepare`, // appearActiveClass: `antdv-base-transtion`, // appearToClass: `${transitionName}-appear ${transitionName}-appear-active`, - enterFromClass: `${transitionName} ${transitionName}-enter ${transitionName}-enter-prepare ${transitionName}-enter-start`, - enterActiveClass: `${transitionName} ${transitionName}-enter ${transitionName}-enter-prepare`, - enterToClass: `${transitionName} ${transitionName}-enter ${transitionName}-enter-active`, + enterFromClass: `${transitionName}-enter ${transitionName}-enter-prepare ${transitionName}-enter-start`, + enterActiveClass: `${transitionName}-enter ${transitionName}-enter-prepare`, + enterToClass: `${transitionName}-enter ${transitionName}-enter-active`, leaveFromClass: ` ${transitionName}-leave`, leaveActiveClass: `${transitionName}-leave ${transitionName}-leave-active`, leaveToClass: `${transitionName}-leave ${transitionName}-leave-active`, diff --git a/components/form/ErrorList.tsx b/components/form/ErrorList.tsx index 657a29088..43eaf2664 100644 --- a/components/form/ErrorList.tsx +++ b/components/form/ErrorList.tsx @@ -38,7 +38,12 @@ export default defineComponent({ colMItem, ); (transitionGroupProps as any).role = 'alert'; - (transitionGroupProps as any).class = [hashId.value, baseClassName.value, attrs.class]; + (transitionGroupProps as any).class = [ + hashId.value, + baseClassName.value, + attrs.class, + `${prefixCls.value}-show-help`, + ]; return (