el-table边框打印时候没有显示(The El table border is not displayed when printing)-其他
el-table边框打印时候没有显示(The El table border is not displayed when printing)
参考文档: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;
}
————————
参考文档:https://www.csdn.net/tags/NtzaYg2sMTY2NDgtYmxvZwO0O0OO0O0O.html
Because PT is used as the unit, the border of the result 1px cannot be displayed
/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;
}