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

使用img作为涂抹层,报错~ #10

Open
xiaowanzi-zz opened this issue Jan 10, 2018 · 1 comment
Open

使用img作为涂抹层,报错~ #10

xiaowanzi-zz opened this issue Jan 10, 2018 · 1 comment

Comments

@xiaowanzi-zz
Copy link

使用img作为涂抹层,报错~
报错信息:
DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
这是什么问题啊,canvas小白,求指点啊

@ydq
Copy link
Contributor

ydq commented Jan 10, 2018

跨域了吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants