Vue + html2canvas截图时 不能使用跨域图片的解决方案
需要修改三个地方:
1、修改源码 node_modules/html2canvas/dist/html2canvas.js
5710行和5714行
case 2:
this.context.logger.debug("Added image " + key.substring(0, 256));
return [4 , new Promise(function (resolve, reject) {
var img = new Image();
img.onload =