-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
v-if in template element do not report non-existant variables #6725
Comments
In your example, the |
as i think, isShow not defined then the |
Using |
how to do this? |
@yyx990803
|
Version
2.4.4
Reproduction link
https://jsfiddle.net/9x0pvs9y/
Steps to reproduce
When judging whether to show the scopedSlots template
What is expected?
expected scopedSlots template can show/hidden base on if condition
What is actually happening?
template doesn't care v-if
I know I can put the v-if on the parent tag, but this will have some redundancy
The text was updated successfully, but these errors were encountered: