背景
使用openhtmltopdf转换PDf时,每个表格分页只有第一页有标题,后面的没有标题。
解决办法
table {-fs-table-paginate: paginate; #重要的是这一句border-spacing: 0;}
完美的解决了
感谢
https://oomake.com/question/2853147
官网的解释
https://github.com/danfickle/openhtmltopdf/wiki/Page-features
使用openhtmltopdf转换PDf时,每个表格分页只有第一页有标题,后面的没有标题。
table {-fs-table-paginate: paginate; #重要的是这一句border-spacing: 0;}
完美的解决了
https://oomake.com/question/2853147
https://github.com/danfickle/openhtmltopdf/wiki/Page-features
让时间为你证明