摘要:
await api(html).then(res => { const blob = new Blob([res], { type: 'application/pdf;charset-UTF-8' }) const url = URL.createObjectURL(blob) window.ope 阅读全文
摘要:
### 方法一 ``` const printWindow = window.open() printWindow.document.write(document.querySelector('#printBox').innerHTML) printWindow.print() printWindo 阅读全文
摘要:
![](https://img2022.cnblogs.com/blog/2483371/202209/2483371-20220922140737136-324525154.png) 阅读全文