printJs打印多个
时间: 2023-07-30 15:08:59 浏览: 111
printJs打印多个内容的方法是在需要打印的内容外包裹一个父容器,并在父容器内使用`page-break-after: always`样式来分隔每个需要打印的内容。例如,在`<div id="printTable">`内包含多个需要打印的内容,并在每个内容之间添加`<div style="page-break-after: always"></div>`来实现打印多页的效果。\[1\]
#### 引用[.reference_title]
- *1* [vue使用 print-js打印多页](https://blog.csdn.net/weixin_54241338/article/details/126171706)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [使用那各VUE的打印功能(print.js)出现多打印一个空白页的问题](https://blog.csdn.net/weixin_43953710/article/details/107764984)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文