Skip to content

the $parent of v-if component isn't right #1097

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

Closed
TerenceZ opened this issue Jul 29, 2015 · 0 comments
Closed

the $parent of v-if component isn't right #1097

TerenceZ opened this issue Jul 29, 2015 · 0 comments

Comments

@TerenceZ
Copy link

In the following example, the if-child's $parent is the root Vue, not the parent. And the repeat-child's $parent is properly the parent.

    <parent>
        <repeat-child v-repeat="repeat"></repeat-child>
        <if-child v-if="condition"></if-child>
    </parent>
@TerenceZ TerenceZ changed the title the $parent of v-if component the $parent of v-if component isn't right Jul 29, 2015
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