Ver Fonte

适配多电流情况

liu xiaoping há 1 ano atrás
pai
commit
464252579b
1 ficheiros alterados com 1 adições e 10 exclusões
  1. 1 10
      src/components/DataModal/common/RealtimeTable.vue

+ 1 - 10
src/components/DataModal/common/RealtimeTable.vue

@@ -6,7 +6,7 @@
       :data="tableData"
       :header-cell-style="{
         color: '#FFF',
-        fontSize: '20px',
+        fontSize: '16px',
         background: 'inherit',
         borderBottom: 'none'
       }"
@@ -19,7 +19,6 @@
         prop="second"
         label="设备名称"
         align="center"
-        width="110px"
       >
         <template slot-scope="scope">
           <div :style="{ color: scope.row.status ? '#5daf34' : '#f19409' }">{{ scope.row.second }}</div>
@@ -199,13 +198,5 @@ export default {
     /deep/ .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf {
       border-bottom: none;
     }
-
-    /deep/ .el-table .el-table__cell {
-      padding: 0;
-    }
-
-    /deep/ .el-table .cell {
-      padding: 8px 0;
-    }
   }
 </style>