chenhj
10 天以前 8959959e59f5a95ca7e61aa60decba4364f36339
src/components/Table/ETable.vue
@@ -2,7 +2,6 @@
    <el-table
      v-loading="loading"
      :data="tableData"
      style="width: 100%"
      :border="border"
      :show-selection="showSelection"
      :max-height="maxHeight"
@@ -21,6 +20,7 @@
          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) {