表格列
<el-table-column
prop="status"
align="center"
label="操作"
fixed="right"
width="210"
>
<template slot-scope="scope" style="display: flex">
<el-link style="margin-left: 5px;" type="primary" @click="remark(scope.row)">备注</el-link>
<el-link style="margin-left: 5px;" type="primary" :disabled="scope.row.status === 'running'" @click="deleteById(scope.row.id, scope.$index)">删除</el-link>
</template>
</el-table-column>
出现一条白线
百度方法:添加后没有效果
.el-table__fixed, .el-table__fixed-right {
height: 100% !important;
}
修改背景色即可
.el-table__fixed::before, .el-table__fixed-right::before{
background-color:#485375;
}