Skip to content
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

slot #86

Open
xtylovesyj opened this issue May 2, 2020 · 0 comments
Open

slot #86

xtylovesyj opened this issue May 2, 2020 · 0 comments

Comments

@xtylovesyj
Copy link

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

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