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

SpriteSvg 在vue中传入一个本地svg文件加载不出来 #274

Open
WebGamer opened this issue Nov 25, 2022 · 2 comments
Open

SpriteSvg 在vue中传入一个本地svg文件加载不出来 #274

WebGamer opened this issue Nov 25, 2022 · 2 comments

Comments

@WebGamer
Copy link

WebGamer commented Nov 25, 2022

image

@WebGamer
Copy link
Author

const svgURL = 'https://s1.ssl.qhres2.com/static/9bd74da7f533f462.svg'
事例中的url可以加载,为什么本地文件加载不出来

@WebGamer WebGamer changed the title SpriteSvg 在vue中传入一个本地svg文件加载 SpriteSvg 在vue中传入一个本地svg文件加载不出来 Nov 25, 2022
@akira-cn
Copy link
Contributor

不支持fileURL,本地文件建议先上传一下

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

No branches or pull requests

2 participants