Commit aa2f1405 authored by 陈小聪's avatar 陈小聪 Committed by 陈帅

fix PageHeader no title bug (#3583)

* fix PageHeader no title bug

* default value
parent 022cf486
......@@ -15,7 +15,7 @@ export default class PageHeader extends PureComponent {
render() {
const {
title,
title = '',
logo,
action,
content,
......@@ -53,7 +53,7 @@ export default class PageHeader extends PureComponent {
{logo && <div className={styles.logo}>{logo}</div>}
<div className={styles.main}>
<div className={styles.row}>
{title && <h1 className={styles.title}>{title}</h1>}
<h1 className={styles.title}>{title}</h1>
{action && <div className={styles.action}>{action}</div>}
</div>
<div className={styles.row}>
......
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