Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
a79e2d00
Commit
a79e2d00
authored
Feb 15, 2019
by
Xudong Cai
Committed by
ιεΈ
Feb 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Site title use defaultSettings (#3546)
parent
0ebcdc88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/components/SiderMenu/SiderMenu.js
src/components/SiderMenu/SiderMenu.js
+2
-1
No files found.
src/components/SiderMenu/SiderMenu.js
View file @
a79e2d00
...
@@ -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
/>
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment