align=“center”
width=“120”>
{ {scope.row.mechanism[index].frequency}}
<el-table-column
label=“费用”
align=“center”
width=“120”>
{ {scope.row.mechanism[index].cost}}
2、css
.el-table thead.is-group th {
background: none;
}
.el-table thead.is-group tr:first-of-type th:first-of-type {
border-bottom: none;
}
.el-table thead.is-group tr:first-of-type th:first-of-type:before {
content: ‘’;
position: absolute;
width: 1px;
height: 75px; /这里需要自己调整,根据td的宽度和高度/
top: 0;
left: 0;
background-color: grey;
opacity: 0.3;
display: block;
transform: rotate(-53deg); /这里需要自己调整,根据线的位置/
transform-origin: top;
}
.el-table thead.is-group tr:last-of-type th:first-of-type:before {
<