Skip to content

slot #86

@xtylovesyj

Description

@xtylovesyj

image
你好,我想问一下这个作用域插槽的作用域是子组件实例的问题。
据我所了解的是函数的作用域是词法作用域,所以作用域在函数定义的那个时候就已经定了,因为函数是在父组件中定义的,我认为对应的数据作用域还是父组件的作用域,不知道对不对呢?希望赐教,谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions