Commit 9a7e7ca7 authored by TnWah's avatar TnWah Committed by 陈小聪

PageHeaderWrapper组件bug (#3938)

* PageHeaderWrapper组件内PageHeader部分显示判断修改为title存在即可

* 删除title/content判断
parent e245efe0
......@@ -49,7 +49,6 @@ const PageHeaderWrapper = ({
return (
<div style={{ margin: '-24px -24px 0' }} className={classNames(classNames, styles.main)}>
{top}
{title && content && (
<MenuContext.Consumer>
{value => {
return (
......@@ -89,7 +88,6 @@ const PageHeaderWrapper = ({
);
}}
</MenuContext.Consumer>
)}
{children ? (
<div className={styles['children-content']}>
<GridContent>{children}</GridContent>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment