Browse Source

Fix card loading with empty children, close #9258

pull/9277/head
afc163 7 years ago
parent
commit
59b18b4c26
  1. 2
      components/card/index.tsx

2
components/card/index.tsx

@ -192,7 +192,7 @@ export default class Card extends React.Component<CardProps, {}> {
<div {...divProps} className={classString} ref={this.saveRef}>
{head}
{coverDom}
{children ? body : null}
{body}
{actionDom}
</div>
);

Loading…
Cancel
Save