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
30a64239
Commit
30a64239
authored
Sep 21, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove global alert
parent
8599753c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
src/routes/Dashboard/Workplace.js
src/routes/Dashboard/Workplace.js
+1
-10
No files found.
src/routes/Dashboard/Workplace.js
View file @
30a64239
...
@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
...
@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
{
Link
}
from
'
dva/router
'
;
import
{
Link
}
from
'
dva/router
'
;
import
{
Row
,
Col
,
Card
,
List
,
Avatar
,
Alert
,
Icon
}
from
'
antd
'
;
import
{
Row
,
Col
,
Card
,
List
,
Avatar
,
Icon
}
from
'
antd
'
;
import
PageHeaderLayout
from
'
../../layouts/PageHeaderLayout
'
;
import
PageHeaderLayout
from
'
../../layouts/PageHeaderLayout
'
;
import
EditableLinkGroup
from
'
../../components/EditableLinkGroup
'
;
import
EditableLinkGroup
from
'
../../components/EditableLinkGroup
'
;
...
@@ -103,14 +103,6 @@ export default class Workplace extends PureComponent {
...
@@ -103,14 +103,6 @@ export default class Workplace extends PureComponent {
chart
:
{
radarData
},
chart
:
{
radarData
},
}
=
this
.
props
;
}
=
this
.
props
;
const
pageHeaderContent
=
(
<
Alert
message
=
"
平台迁移公告:平台将于本周六 03:00 ~ 04:00 进行迁移,请勿在此期间提交数据。
"
type
=
"
warning
"
showIcon
/>
);
const
pageHeaderTitle
=
(
const
pageHeaderTitle
=
(
<
div
className
=
{
styles
.
pageHeaderTitle
}
>
<
div
className
=
{
styles
.
pageHeaderTitle
}
>
<
div
className
=
{
styles
.
titleAvatar
}
>
<
div
className
=
{
styles
.
titleAvatar
}
>
...
@@ -144,7 +136,6 @@ export default class Workplace extends PureComponent {
...
@@ -144,7 +136,6 @@ export default class Workplace extends PureComponent {
return
(
return
(
<
PageHeaderLayout
<
PageHeaderLayout
top
=
{
pageHeaderContent
}
action
=
{
pageHeaderAction
}
action
=
{
pageHeaderAction
}
title
=
{
pageHeaderTitle
}
title
=
{
pageHeaderTitle
}
>
>
...
...
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