From a79e2d000b3f3faaecc216e47e7d613ba2270cd2 Mon Sep 17 00:00:00 2001 From: Xudong Cai Date: Fri, 15 Feb 2019 17:48:43 +0800 Subject: [PATCH] Site title use defaultSettings (#3546) --- src/components/SiderMenu/SiderMenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SiderMenu/SiderMenu.js b/src/components/SiderMenu/SiderMenu.js index 102b4b44..da9520fa 100644 --- a/src/components/SiderMenu/SiderMenu.js +++ b/src/components/SiderMenu/SiderMenu.js @@ -5,6 +5,7 @@ import Link from 'umi/link'; import styles from './index.less'; import PageLoading from '../PageLoading'; import { getDefaultCollapsedSubMenus } from './SiderMenuUtils'; +import { title } from '../../defaultSettings'; const BaseMenu = React.lazy(() => import('./BaseMenu')); const { Sider } = Layout; @@ -79,7 +80,7 @@ export default class SiderMenu extends PureComponent { }> -- GitLab