合并ElementUI el-table表头
<el-table ... :header-cell-style="headerCellStyle">...</el-table>
headerCellStyle({row, column, rowIndex, columnIndex}) {
if (row[0].level == 1) {
row[1].colSpan = 0
row[2].colSpan = 2
if (columnIndex === 0) {
return { display: 'none' }
}
}
},