Skip to content

[vue] 在子组件中怎么访问到父组件的实例? #450

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

[vue] 在子组件中怎么访问到父组件的实例?

Activity

maomao1996

maomao1996 commented on Jun 28, 2019

@maomao1996

通过

this.$parent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@maomao1996

        Issue actions

          [vue] 在子组件中怎么访问到父组件的实例? · Issue #450 · haizlin/fe-interview