-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当二维码设置logo时, 由于跨域问题浏览器报错无法加载 #87
Comments
晚上回去我改下吧, Awesome-qr.js 有点坑 |
重新装下看看 |
还是会出现上面的报错。vue-qr: 2.4.0, binaryify-awesome-qr: 2.1.10;chrome86 |
@uchihayu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome 浏览器 90.0.4430.93
canvas 将图片转为base64报错:
DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported
火狐浏览器 88.0
Uncaught (in promise) DOMException: The operation is insecure.
建议
请将
img
的crossOrigin
属性设置为Anonymous
The text was updated successfully, but these errors were encountered: