From 6e2d122aad87798eee19fd041d7f254125f12d38 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 13 Nov 2017 21:08:13 +0800 Subject: [PATCH] use antd Divider --- src/components/StandardTable/index.js | 4 ++-- src/components/StandardTable/index.less | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/StandardTable/index.js b/src/components/StandardTable/index.js index f98e9399..3a4ec8a8 100644 --- a/src/components/StandardTable/index.js +++ b/src/components/StandardTable/index.js @@ -1,6 +1,6 @@ import React, { PureComponent } from 'react'; import moment from 'moment'; -import { Table, Alert, Badge } from 'antd'; +import { Table, Alert, Badge, Divider } from 'antd'; import styles from './index.less'; const statusMap = ['default', 'processing', 'success', 'error']; @@ -101,7 +101,7 @@ class StandardTable extends PureComponent { render: () => (
配置 - + 订阅警报
), diff --git a/src/components/StandardTable/index.less b/src/components/StandardTable/index.less index 66e82488..4ced9e78 100644 --- a/src/components/StandardTable/index.less +++ b/src/components/StandardTable/index.less @@ -10,12 +10,4 @@ .tableAlert { margin-bottom: 16px; } - - .splitLine { - background: @border-color-split; - display: inline-block; - margin: 0 8px; - width: 1px; - height: 12px; - } } -- GitLab