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
5ba91f20
Commit
5ba91f20
authored
Feb 02, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move pro doc link to header
parent
6844c413
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
src/common/menu.js
src/common/menu.js
+0
-5
src/components/GlobalHeader/index.js
src/components/GlobalHeader/index.js
+10
-1
src/components/GlobalHeader/index.less
src/components/GlobalHeader/index.less
+1
-0
No files found.
src/common/menu.js
View file @
5ba91f20
...
...
@@ -113,11 +113,6 @@ const menuData = [{
name
:
'
注εη»ζ
'
,
path
:
'
register-result
'
,
}],
},
{
name
:
'
δ½Ώη¨ζζ‘£
'
,
icon
:
'
book
'
,
path
:
'
http://pro.ant.design/docs/getting-started
'
,
target
:
'
_blank
'
,
}];
function
formatter
(
data
,
parentPath
=
''
,
parentAuthority
)
{
...
...
src/components/GlobalHeader/index.js
View file @
5ba91f20
import
React
,
{
PureComponent
}
from
'
react
'
;
import
{
Menu
,
Icon
,
Spin
,
Tag
,
Dropdown
,
Avatar
,
Divider
}
from
'
antd
'
;
import
{
Menu
,
Icon
,
Spin
,
Tag
,
Dropdown
,
Avatar
,
Divider
,
Tooltip
}
from
'
antd
'
;
import
moment
from
'
moment
'
;
import
groupBy
from
'
lodash/groupBy
'
;
import
Debounce
from
'
lodash-decorators/debounce
'
;
...
...
@@ -94,6 +94,15 @@ export default class GlobalHeader extends PureComponent {
console
.
log
(
'
enter
'
,
value
);
// eslint-disable-line
}}
/
>
<
Tooltip
title
=
"
δ½Ώη¨ζζ‘£
"
>
<
Link
target
=
"
_blank
"
to
=
"
http://pro.ant.design/docs/getting-started
"
className
=
{
styles
.
action
}
>
<
Icon
type
=
"
question-circle-o
"
/>
<
/Link
>
<
/Tooltip
>
<
NoticeIcon
className
=
{
styles
.
action
}
count
=
{
currentUser
.
notifyCount
}
...
...
src/components/GlobalHeader/index.less
View file @
5ba91f20
...
...
@@ -61,6 +61,7 @@ i.trigger {
> i {
font-size: 16px;
vertical-align: middle;
color: @text-color;
}
&:hover,
&:global(.ant-popover-open) {
...
...
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