tabel:
<el-table ref="djfaTable" class="topTable"
v-loading="loading1"
:data="tableData"
:span-method="objectSpanMethod"
:highlight-current-row="false"
border style="width: 100%" min-height="600px" :height="tableHeight-95+'px'">
method:
//发送请求后获取数据,赋值给tableData ,后调用rowspan方法
......
if(this.tableData.length>0){
this.rowspan();
this.rowspan2();
this.rowspan3();
this.rowspan4();
this.rowspan5();
this.rowspan6();
this.rowspan7();
this.rowspan8();
}
rowspan() { //为要合并的字