Skip to content

Commit

Permalink
fix: page-header show extra content
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 7, 2021
1 parent 6c5c84a commit 4de7737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/page-header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const PageHeader = defineComponent({
<div class={className}>
{renderBreadcrumb()}
{renderTitle()}
{children.length && renderChildren(children)}
{children.length ? renderChildren(children) : null}
{renderFooter()}
</div>
</ResizeObserver>
Expand Down

0 comments on commit 4de7737

Please sign in to comment.