https://github.com/eKoopmans/html2canvas/tree/develop/dist
html2canvas(dom,{
useCORS:true,background:'fff',
dpi:96//清晰度(越大越好)
}).then((canvas)=>{
let url=canvas.toDataURL('image/jpeg',0.5)
this.url=url
})
https://github.com/eKoopmans/html2canvas/tree/develop/dist
html2canvas(dom,{
useCORS:true,background:'fff',
dpi:96//清晰度(越大越好)
}).then((canvas)=>{
let url=canvas.toDataURL('image/jpeg',0.5)
this.url=url
})