afc163 8 лет назад
Родитель
Сommit
6e2d122aad
2 измененных файлов с 2 добавлено и 10 удалено
  1. 2 2
      src/components/StandardTable/index.js
  2. 0 8
      src/components/StandardTable/index.less

+ 2 - 2
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: () => (
           <div>
             <a href="">配置</a>
-            <span className={styles.splitLine} />
+            <Divider type="vertical" />
             <a href="">订阅警报</a>
           </div>
         ),

+ 0 - 8
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;
-  }
 }