Commit 9f84663b authored by Ostwind's avatar Ostwind Committed by ι™ˆεΈ…

Site title od top use defaultSettings (#3551)

parent a79e2d00
...@@ -4,6 +4,7 @@ import RightContent from '../GlobalHeader/RightContent'; ...@@ -4,6 +4,7 @@ import RightContent from '../GlobalHeader/RightContent';
import BaseMenu from '../SiderMenu/BaseMenu'; import BaseMenu from '../SiderMenu/BaseMenu';
import { getFlatMenuKeys } from '../SiderMenu/SiderMenuUtils'; import { getFlatMenuKeys } from '../SiderMenu/SiderMenuUtils';
import styles from './index.less'; import styles from './index.less';
import { title } from '../../defaultSettings';
export default class TopNavHeader extends PureComponent { export default class TopNavHeader extends PureComponent {
state = { state = {
...@@ -32,7 +33,7 @@ export default class TopNavHeader extends PureComponent { ...@@ -32,7 +33,7 @@ export default class TopNavHeader extends PureComponent {
<div className={styles.logo} key="logo" id="logo"> <div className={styles.logo} key="logo" id="logo">
<Link to="/"> <Link to="/">
<img src={logo} alt="logo" /> <img src={logo} alt="logo" />
<h1>Ant Design Pro</h1> <h1>{title}</h1>
</Link> </Link>
</div> </div>
<div <div
......
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