You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
报错内容 : Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported
上传时,不能预览图片了.服务器就在本地,上传目录也是本地.
一直以来都正常的,突然就报错了,我还以为代码出问题了.下载了DEMO测试.还是报错.一番查询.认为和跨域方面有关
在chrome中chrome://flags/#block-insecure-private-network-requests 禁用掉.重启浏览器后,上传恢复正常..
奇怪的是 chrome中这个设置随后我又恢复成默认.现在网站上传依然正常...
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
报错内容 : Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported
上传时,不能预览图片了.服务器就在本地,上传目录也是本地.
一直以来都正常的,突然就报错了,我还以为代码出问题了.下载了DEMO测试.还是报错.一番查询.认为和跨域方面有关
在chrome中chrome://flags/#block-insecure-private-network-requests 禁用掉.重启浏览器后,上传恢复正常..
奇怪的是 chrome中这个设置随后我又恢复成默认.现在网站上传依然正常...
The text was updated successfully, but these errors were encountered: