vue-print-nb无法让多余内容分页,只显示一页,原因:外部盒子有overflow:hidden属性,如果改为inherit则可以
解决方法二,使用print.js插件,https://github.com/zxc19890923/print/blob/master/print.js下载插件,在项目中引用
// 搜索getStyle方法,添加:str += "<style>html,body,div{height: auto!important;font-size:14px}</style>";
此时打印即可分页