其他分享
首页 > 其他分享> > el-table边框打印时候没有显示

el-table边框打印时候没有显示

作者:互联网

参考文档:https://www.csdn.net/tags/NtzaYg2sMTY2NDgtYmxvZwO0O0OO0O0O.html

因为用pt作为单位,结果1px的边框显示不了

    /deep/ .el-table td,
    /deep/ .el-table th.is-leaf {
        border-bottom: 2px solid #f8f8f9!important;
    }

    /deep/ .el-table--border th,
    /deep/ .el-table--border th.gutter:last-of-type {
        border-bottom: 2px solid #f8f8f9!important;
    }

    /deep/ .el-table--border td,
    /deep/ .el-table--border th {
        border-right: 2px solid #f8f8f9!important;
    }
    /deep/ .el-table td, /deep/ .el-table th.is-leaf {
        border-bottom: 2px solid #f8f8f9!important;
    }
    /deep/ .el-table td,.building-top /deep/ .el-table th.is-leaf {
        border-bottom:  2px solid #f8f8f9!important;
    }

 

标签:el,2px,deep,边框,th,table,border
来源: https://www.cnblogs.com/jqynr/p/16269196.html