摘要: 先用 npm 引入包到你的项目中去 npm install html2canvas npm install jspdf 这里的 id 要和下面的 id 一致。 id底下包的内容就是你要预览和打印的数据 <view id="contentToPrint " class="center"> 这里是你要导 阅读全文
posted @ 2025-06-23 16:09 薛定谔_猫 阅读(376) 评论(0) 推荐(0)