<el-table-column v-for="(item, index) in newDynamicColumns" :key="index" :prop="item.prop" :label="item.label" :align="item.align" :width="item.width" :show-overflow-tooltip="item.showOverflowTooltip" :fixed="item.fixed" > </el-table-column>
computed: { newDynamicColumns() { let newColumns = []; this.dynamicColumn.forEach((item) => { if (item.show) { newColumns.push(item); } }); return newColumns; }, },