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
6e2d122a
Commit
6e2d122a
authored
Nov 13, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use antd Divider
parent
63b76456
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
src/components/StandardTable/index.js
src/components/StandardTable/index.js
+2
-2
src/components/StandardTable/index.less
src/components/StandardTable/index.less
+0
-8
No files found.
src/components/StandardTable/index.js
View file @
6e2d122a
import
React
,
{
PureComponent
}
from
'
react
'
;
import
React
,
{
PureComponent
}
from
'
react
'
;
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
import
{
Table
,
Alert
,
Badge
}
from
'
antd
'
;
import
{
Table
,
Alert
,
Badge
,
Divider
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
styles
from
'
./index.less
'
;
const
statusMap
=
[
'
default
'
,
'
processing
'
,
'
success
'
,
'
error
'
];
const
statusMap
=
[
'
default
'
,
'
processing
'
,
'
success
'
,
'
error
'
];
...
@@ -101,7 +101,7 @@ class StandardTable extends PureComponent {
...
@@ -101,7 +101,7 @@ class StandardTable extends PureComponent {
render
:
()
=>
(
render
:
()
=>
(
<
div
>
<
div
>
<
a
href
=
""
>
配置
<
/a
>
<
a
href
=
""
>
配置
<
/a
>
<
span
className
=
{
styles
.
splitLine
}
/
>
<
Divider
type
=
"
vertical
"
/>
<
a
href
=
""
>
订阅警报
<
/a
>
<
a
href
=
""
>
订阅警报
<
/a
>
<
/div
>
<
/div
>
),
),
...
...
src/components/StandardTable/index.less
View file @
6e2d122a
...
@@ -10,12 +10,4 @@
...
@@ -10,12 +10,4 @@
.tableAlert {
.tableAlert {
margin-bottom: 16px;
margin-bottom: 16px;
}
}
.splitLine {
background: @border-color-split;
display: inline-block;
margin: 0 8px;
width: 1px;
height: 12px;
}
}
}
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