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>