gaoluyang
7 天以前 d13487486a3c3c7cf93bd3bda65dcc0d6af51aa2
src/components/Table/ETable.vue
@@ -6,6 +6,7 @@
      :border="border"
      :show-selection="showSelection"
      :max-height="maxHeight"
      :header-cell-style="{ background: '#EBEEF5', color: '#3D3D3D' }"
      @selection-change="handleSelectionChange"
      @row-click="handleRowClick"
      @row-dblclick="handleRowDblClick"
@@ -20,7 +21,6 @@
          v-bind="col"
          :show-overflow-tooltip="shouldShowTooltip(col, tableData)"
          :formatter="(row, column, cellValue) => cellValue == null || cellValue === '' ? '--' : cellValue"
          align="center"
        >
          <template v-if="col.slot" #default>
            <slot></slot>
@@ -172,9 +172,8 @@
  </script>
  
  <style scoped>
  :deep(.el-table) {
    margin-bottom: 20px;
    overflow-x: auto;
  .el-table {
    margin: 20px 0 !important;
  }
  
  :deep(.el-table th) {