vue html2canvas截屏报Failed to execute ‘toD
vue 截屏报 to ‘’ on ‘’
在vue中,使用和jsPDF完成截屏下载PDF功能,控制台会报如下报错信息:
(in ) : to ‘’ on ‘’: may not be .
只要在配置中添加就可以完美解决:
allowTaint: true,foreignObjectRendering: true
tags:
vue
html2canvas