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
P
pro-blocks
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
pro-blocks
Commits
fd0926bd
Commit
fd0926bd
authored
May 07, 2018
by
Erwin Zhang
Committed by
陈帅
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add component's name
parent
2835ffae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/layouts/PageHeaderLayout.js
src/layouts/PageHeaderLayout.js
+3
-1
src/routes/User/RegisterResult.js
src/routes/User/RegisterResult.js
+3
-1
No files found.
src/layouts/PageHeaderLayout.js
View file @
fd0926bd
...
...
@@ -5,7 +5,7 @@ import GridContent from './GridContent';
import
styles
from
'
./PageHeaderLayout.less
'
;
import
MenuContext
from
'
./MeunContext
'
;
export
default
({
children
,
wrapperClassName
,
top
,
...
restProps
})
=>
(
const
PageHeaderLayout
=
({
children
,
wrapperClassName
,
top
,
...
restProps
})
=>
(
<
div
style
=
{{
margin
:
'
-24px -24px 0
'
}}
className
=
{
wrapperClassName
}
>
{
top
}
<
MenuContext
.
Consumer
>
...
...
@@ -20,3 +20,5 @@ export default ({ children, wrapperClassName, top, ...restProps }) => (
)
:
null
}
<
/div
>
);
export
default
PageHeaderLayout
;
src/routes/User/RegisterResult.js
View file @
fd0926bd
...
...
@@ -17,7 +17,7 @@ const actions = (
<
/div
>
);
export
default
({
location
})
=>
(
const
RegisterResult
=
({
location
})
=>
(
<
Result
className
=
{
styles
.
registerResult
}
type
=
"
success
"
...
...
@@ -31,3 +31,5 @@ export default ({ location }) => (
style
=
{{
marginTop
:
56
}}
/
>
);
export
default
RegisterResult
;
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