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

使用pdf导出时,如果使用的文件来自对象服务器OOS中,会产生跨域问题 #26

Open
StudentWgz opened this issue Jan 5, 2023 · 0 comments

Comments

@StudentWgz
Copy link

StudentWgz commented Jan 5, 2023

在使用pdf功能导出文件时,如果文件里面有来自其他服务器中的图片地址的引用,那么生成的pdf文件无法显示图片,控制台显示跨域问题,但是我发现,将标签修改为<img src='xxxx' crossorigin='anonymous' 则又可以将图片下载下来

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

1 participant