原因: 表格最后一列右侧固定(fixed:"right"),倒数第二列右侧边框线消失了,原因固定列遮住了该列的边框
方法:
给固定列设置一条边框,同时保险做法: 添加边框同时,去掉前一列的有边框线
.el-table__row td:not(.is-hidden):last-child {
border-left:1px solid #EBEEF5;
}
.el-table__header th:not(.is-hidden):last-child{
border-left:1px solid #EBEEF5;
}
.el-table__header-wrapper tr th:nth-last-child(1){
border-right:none;
}
.el-table__body-wrapper tr td:nth-last-child(1){
border-right:none;
}
解决方法:
解决element-ui的表格设置固定栏后,右侧边框线消失_vue3 table 右固定,没有边框线_漫天绯羽的博客-CSDN博客