tabel中添加border样式改最大框 内部写如下代码-----需在scope外写,可在外层添加父级类名防止全局污染
.el-table--border,
.el-table--group {
border-color: rgb(15, 51, 84);
}
.el-table--border:after,
.el-table--group:after,
.el-table:before {
background-color: rgb(15, 51, 84);
}
.el-table td,
.el-table--border th,
.el-table th.is-leaf {
border-bottom-color: rgb(15, 51, 84);
}
.el-table--border td,
.el-table--border th {
border-right-color: rgb(15, 51, 84);
}
网友评论