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
3fcd79a3
Commit
3fcd79a3
authored
Aug 28, 2018
by
afc163
Committed by
ιεΈ
Aug 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo: SettingDarwer => SettingDrawer
parent
121c8808
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/SettingDrawer/index.js
src/components/SettingDrawer/index.js
+2
-2
src/layouts/BasicLayout.js
src/layouts/BasicLayout.js
+2
-2
No files found.
src/components/SettingDrawer/index.js
View file @
3fcd79a3
...
@@ -20,7 +20,7 @@ const Body = ({ children, title, style }) => (
...
@@ -20,7 +20,7 @@ const Body = ({ children, title, style }) => (
);
);
@
connect
(({
setting
})
=>
({
setting
}))
@
connect
(({
setting
})
=>
({
setting
}))
class
SettingD
ar
wer
extends
PureComponent
{
class
SettingD
ra
wer
extends
PureComponent
{
getLayOutSetting
=
()
=>
{
getLayOutSetting
=
()
=>
{
const
{
const
{
setting
:
{
grid
,
fixedHeader
,
layout
,
autoHideHeader
,
fixSiderbar
},
setting
:
{
grid
,
fixedHeader
,
layout
,
autoHideHeader
,
fixSiderbar
},
...
@@ -233,4 +233,4 @@ class SettingDarwer extends PureComponent {
...
@@ -233,4 +233,4 @@ class SettingDarwer extends PureComponent {
}
}
}
}
export
default
SettingD
ar
wer
;
export
default
SettingD
ra
wer
;
src/layouts/BasicLayout.js
View file @
3fcd79a3
...
@@ -10,7 +10,7 @@ import pathToRegexp from 'path-to-regexp';
...
@@ -10,7 +10,7 @@ import pathToRegexp from 'path-to-regexp';
import
{
formatMessage
}
from
'
umi/locale
'
;
import
{
formatMessage
}
from
'
umi/locale
'
;
import
SiderMenu
from
'
@/components/SiderMenu
'
;
import
SiderMenu
from
'
@/components/SiderMenu
'
;
import
Authorized
from
'
@/utils/Authorized
'
;
import
Authorized
from
'
@/utils/Authorized
'
;
import
SettingD
arwer
from
'
@/components/SettingDar
wer
'
;
import
SettingD
rawer
from
'
@/components/SettingDra
wer
'
;
import
logo
from
'
../assets/logo.svg
'
;
import
logo
from
'
../assets/logo.svg
'
;
import
Footer
from
'
./Footer
'
;
import
Footer
from
'
./Footer
'
;
import
Header
from
'
./Header
'
;
import
Header
from
'
./Header
'
;
...
@@ -202,7 +202,7 @@ class BasicLayout extends React.PureComponent {
...
@@ -202,7 +202,7 @@ class BasicLayout extends React.PureComponent {
)}
)}
<
/ContainerQuery
>
<
/ContainerQuery
>
<
/DocumentTitle
>
<
/DocumentTitle
>
{
this
.
state
.
rendering
?
null
:
<
SettingD
ar
wer
/>
}
{
this
.
state
.
rendering
?
null
:
<
SettingD
ra
wer
/>
}
<
/React.Fragment
>
<
/React.Fragment
>
);
);
}
}
...
...
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