Commit a79e2d00 authored by Xudong Cai's avatar Xudong Cai Committed by ι™ˆεΈ…

Site title use defaultSettings (#3546)

parent 0ebcdc88
...@@ -5,6 +5,7 @@ import Link from 'umi/link'; ...@@ -5,6 +5,7 @@ import Link from 'umi/link';
import styles from './index.less'; import styles from './index.less';
import PageLoading from '../PageLoading'; import PageLoading from '../PageLoading';
import { getDefaultCollapsedSubMenus } from './SiderMenuUtils'; import { getDefaultCollapsedSubMenus } from './SiderMenuUtils';
import { title } from '../../defaultSettings';
const BaseMenu = React.lazy(() => import('./BaseMenu')); const BaseMenu = React.lazy(() => import('./BaseMenu'));
const { Sider } = Layout; const { Sider } = Layout;
...@@ -79,7 +80,7 @@ export default class SiderMenu extends PureComponent { ...@@ -79,7 +80,7 @@ export default class SiderMenu extends PureComponent {
<div className={styles.logo} id="logo"> <div className={styles.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>
<Suspense fallback={<PageLoading />}> <Suspense fallback={<PageLoading />}>
......
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