Skip to content
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

当图片出现跨域时,无法执行打印 #163

Closed
baseWalker opened this issue Mar 29, 2023 · 1 comment
Closed

当图片出现跨域时,无法执行打印 #163

baseWalker opened this issue Mar 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@baseWalker
Copy link
Contributor

version

0.9.28

Link to minimal reproduction

No response

Steps to reproduce

复制一个有服务端跨域限制图片,然后执行打印

What is expected?

打印报错:Draw.ts:523 Uncaught (in promise) DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

What is actually happening?

能正常打印

System Info

No response

Any additional comments?

No response

@Hufe921 Hufe921 added the bug Something isn't working label Mar 29, 2023
Hufe921 added a commit that referenced this issue Mar 29, 2023
@Hufe921
Copy link
Owner

Hufe921 commented Apr 1, 2023

v0.9.29

@Hufe921 Hufe921 closed this as completed Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants