js打印窗口內容並當窗口內容較長時自動分頁 項目環境Angular: 方法1、window.print() HTML頁面上的代碼: ts文件中: 然后再用css控制打印分頁 page-break-befor ...