This commit is contained in:
xuqiang 2019-06-27 16:18:25 +08:00
parent 543262295a
commit 657550118e

View File

@ -100,13 +100,13 @@ const renderCol = (child: React.ReactElement<DescriptionsItemProps>, bordered: b
];
}
return (
<td
colSpan={span}
className={classNames(`${prefixCls}-item`, className, {
[`${prefixCls}-item-no-label`]: !label,
})}
>
<span className={`${prefixCls}-item-label`} key="label">
<td colSpan={span} className={classNames(`${prefixCls}-item`, className)}>
<span
className={classNames(`${prefixCls}-item-label`, {
[`${prefixCls}-item-no-label`]: !label,
})}
key="label"
>
{label}
</span>
<span className={`${prefixCls}-item-content`} key="content">