, bordered: b
const { prefixCls, label, className, children, span = 1 } = child.props;
if (bordered) {
return [
-
+ |
{label}
| ,
, bordered: b
}
return (
|
-
+
{label}
diff --git a/components/descriptions/style/index.less b/components/descriptions/style/index.less
index 3abf4742e8..6282cd7533 100644
--- a/components/descriptions/style/index.less
+++ b/components/descriptions/style/index.less
@@ -51,6 +51,13 @@
}
}
+ &-item-no-label {
+ &::after {
+ content: '';
+ margin: 0;
+ }
+ }
+
&-item-content {
display: table-cell;
color: @text-color;
|