-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[compiler-sfc] getImportsExpressionExp misuses the import cache with "hoisted" urls #4581
Comments
hl037
added a commit
to hl037/vue-next
that referenced
this issue
Sep 14, 2021
Subsequent calls with an url already in the import cache and with a hash returns the correct expression including each time the hash if one.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.2.11
Reproduction link
github.com
Steps to reproduce
Open the page then the devtool
What is expected?
The image should be present twice. The
<use>
tags should both havehref="[...].svg#logo"
What is actually happening?
The image is present only once. The second
<use>
tag hashref="[...].svg"
, missing the#logo
I'm making a PR to fix it.
The text was updated successfully, but these errors were encountered: