Skip to content

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

Closed
@TerenceZ

Description

@TerenceZ

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions