How to get attr or method in Async Component ? #10661
Unanswered
lq9958
asked this question in
Help/Questions
Replies: 1 comment
-
@lq9958 You can use a watcher like playground
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
playground
这个例子我想获取异步加载组件的实例,并且获取它其中暴漏的一个属性,child.value并不像通过ref获取到的组件实例那样,请问如何获取异步组件的属性或者方法呢?
In this example, I want to get the instance of the asynchronous loading component and get one of its exposed attributes.
child.value
is not like the component instance obtained through ref. How to get the attributes or methods of the asynchronous component?Beta Was this translation helpful? Give feedback.
All reactions