-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix(compiler-core): using a user-provided key in v-if
template element.
#11728
base: main
Are you sure you want to change the base?
Conversation
Size ReportBundles
Usages
|
commit: @vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
|
], | ||
}, | ||
}) | ||
const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest splitting it into two tests
I just gave this a try, but it seems that the prop hoisting breaks it: Error: |
}) | ||
}) | ||
|
||
test('template is static key with v-if', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test('template is static key with v-if', () => { | |
test('template v-if + static key', () => { |
Co-authored-by: edison <[email protected]>
close #11727
this pr - playground case1
this pr - playground case2