问题描述
table表格设置为圆角后并且设置table border颜色,设置圆角后导致修改颜色后的border无法显示
问题解决
.el-table{
border-radius: 0 0 10px 10px;
border-top:1px solid #DEDEDE;
border-left:1px solid #DEDEDE;
border-bottom:1px solid #DEDEDE;
}
.el-table th.is-leaf {
border-bottom: 1px solid #DEDEDE!important;
}
.el-table td, .el-table th.is-leaf {
border-bottom: 0;
}
.el-table__body-wrapper{
border-right: 0;
border-bottom: 0;
}
.el-table td, .el-table th.is-leaf,.el-table--border, .el-table--group{
border-color: #DEDEDE;
}
.el-table--border::after, .el-table--group::after, .el-table::before{
background-color: transparent;
}