使用html2canvas踩坑的点:

266 阅读1分钟
    问题一:在ios 13.4中,微信浏览器使用html2canvas无任何反馈
        解决方法: 
            现在最新版本1.0.0-rc. 5很多问题,需将版本降到1.0.0-rc.4 解决此问题
    问题二: 截出的图有白边的问题
        解决方法: 配置属性可解决此问题
            height: node.offsetHeight,
            width: node.offsetWidth,
            windowWidth: document.body.scrollWidth,
            windowHeight: document.body.scrollHeight,
    问题三:跨域图片显示不出
    解决方法: 
        需配置useCORS:true,allowTaint和useCORS这两个参数不能共