最近做pdf生成,先简单记录下
<div style="height: 200px;page-break-inside:avoid;">通过给div加样式tpage-break-inside:avoid;实现Pdf分页问题的解决