图片是放在又拍云上的,当canvas调用图片,最后todataURl会报错,有什么解决方法吗?
百度也看了很多解决方法但是都不能实现。。
报错信息:
Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
如果是
new Image()
的话,要加上一下设置:参考问题:/q/10...