diff --git a/components/form/FormItem.tsx b/components/form/FormItem.tsx index 891708a35c..0c199b251f 100644 --- a/components/form/FormItem.tsx +++ b/components/form/FormItem.tsx @@ -338,7 +338,7 @@ export default class FormItem extends React.Component { const mergedLabelCol: ColProps = ('labelCol' in this.props ? labelCol : contextLabelCol) || {}; - const labelClsBasic = `${prefixCls}-item-label` + const labelClsBasic = `${prefixCls}-item-label`; const labelColClassName = classNames(labelClsBasic, labelAlign === 'left' && `${labelClsBasic}-left`, mergedLabelCol.className); const labelClassName = classNames({ [`${prefixCls}-item-required`]: required,