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

水印消失 #108

Open
mon-h08 opened this issue Sep 8, 2022 · 3 comments
Open

水印消失 #108

mon-h08 opened this issue Sep 8, 2022 · 3 comments

Comments

@mon-h08
Copy link

mon-h08 commented Sep 8, 2022

html2canvas 截图下载下来的内容水印就消失了,这是为何

@lpilp
Copy link

lpilp commented Oct 13, 2022

水印缺省是挂在body下,如果你要生成的图是是底下的某个dom的话就没有水印了,防止这种情况只能将水印挂在要保护的区域的dom下,这样使用html2canvas截下来就有水印了

@mon-h08
Copy link
Author

mon-h08 commented Oct 13, 2022 via email

@ldhaha
Copy link

ldhaha commented Dec 17, 2024

还是没用啊 我没有挂在body下面还是显示不了

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

3 participants