element-合并单元格
1、合并单元格
示例:

code:
<el-table :span-method="objectSpanMethod"> </el-table> methods:{ // 单元格合并 objectSpanMethod ({ row, column, rowIndex, columnIndex }) { // row 行,column 列,rowIndex 行索引, columnIndex 列索引 return [1, 5] }, }
1、合并单元格
示例:

code:
<el-table :span-method="objectSpanMethod"> </el-table> methods:{ // 单元格合并 objectSpanMethod ({ row, column, rowIndex, columnIndex }) { // row 行,column 列,rowIndex 行索引, columnIndex 列索引 return [1, 5] }, }