|
|
@@ -162,16 +162,19 @@
|
|
|
/>
|
|
|
<slot name="prepend-column" />
|
|
|
<template v-for="(column, index) in tableColumns">
|
|
|
+
|
|
|
<el-table-column
|
|
|
v-if="showColumn(column)"
|
|
|
:key="index"
|
|
|
:prop="handleAttribute(column.prop, null)"
|
|
|
:label="handleAttribute(column.label, '')"
|
|
|
:width="handleAttribute(column.width,null)"
|
|
|
+ :min-width="handleAttribute(column.minWidth,null)"
|
|
|
:class-name="'vertical-' + handleAttribute(column.vertical, 'middle')"
|
|
|
v-bind="column"
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
+
|
|
|
<template slot="header">
|
|
|
<slot :name="column.headerName" :column="column" />
|
|
|
</template>
|