mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:25:15 +00:00
fix: fix PageHeader
This commit is contained in:
parent
8b03dfa96b
commit
e3b84e855c
@ -189,7 +189,7 @@ export const Page = (props) => {
|
||||
>
|
||||
{!disablePageHeader && (
|
||||
<AntdPageHeader
|
||||
className={classNames(pageHeaderCss, pageHeaderTitle ? '' : height0)}
|
||||
className={classNames(pageHeaderCss, pageHeaderTitle || enablePageTabs ? '' : height0)}
|
||||
ghost={false}
|
||||
// 如果标题为空的时候会导致 PageHeader 不渲染,所以这里设置一个空白字符,然后再设置高度为 0
|
||||
title={pageHeaderTitle || ' '}
|
||||
|
Loading…
Reference in New Issue
Block a user