摘要: 1.使用的场景是把html转换成PDF保存下来,代码: /* eslint-disable */ import html2canvas from 'html2canvas'; import JsPDF from 'jspdf'; /** * @param ele 要生成 pdf 的DOM元素(容器) 阅读全文
posted @ 2021-08-13 10:27 奔跑吧前端(李钊) 阅读(1671) 评论(0) 推荐(0) 编辑