html2canvas,jspdf在vue解决图片不显示,跨域问题
import html2Canvas from 'html2canvas'import JsPDF from 'jspdf'const getPdf = async (dom, title) => { await new Promise((resolve, reject) => { try { // 避免模糊,放大倍数,倍数可调整 const el = document.getElementById(dom) || document.querySele.
原创
2021-01-19 15:23:08 ·
2072 阅读 ·
0 评论