How to get the reference of current component in <script setup> context ? chinese: 如何在script setup上下文中获取当前组件的引用? #10465
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
appreciate , it looks like it is the only way to do that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in <script setup> context , how to get something like $this , $parent ?
i want to get the instance handle of current component or father component .
translate in chinese :
在<script setup>上下文中,如何获得类似 $this , $parent 这样的东西?
我想获得当前组件或者父组件的实例引用
Beta Was this translation helpful? Give feedback.
All reactions