- 博客(1)
- 收藏
- 关注
原创 html导出pdf
html导出pdf安装包:npm install pdfmake --save调用:import * as pdfMake from ‘pdfmake/build/pdfmake.js’;import * as pdfFonts from ‘pdfmake/build/vfs_fonts.js’;const img = {content: [image:“路径”,width:536,height:760],[text:“文案”]}pdfMake.fonts = {Roboto:
2020-09-14 13:50:15 134
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人