导出为PDF系列(三)__HTML导PDF

用HTML导出PDF主要使用html2canvas+jsPdf。 (1)引入上面两个js jsPdf.debug.js html2canvas.js (2)给想导出的区域设定一个id (3)将userInfoForExport渲染成canvas,下面是具体的代码 <html> <head> <title>登陆成功</title> <script src="../../static/
相关文章
相关标签/搜索