Loading...
**一个前端操作canvas出现跨域问题的解决方案** - 出现现象: 前端项目中需要使用canvas对网络图片进行操作, 当使用到toDataUrl等操作就会报错: > SecurityError: the operation is insecure >Uncaught DOMException: Failed to execute 'toDataURL'...