admin管理员组文章数量:1326677
I've been googling for hours, reading countless vue docs and relevant posts on stackoverflow without luck.
I need to access an internal property of a ponent, because that ponent is nothing but a wrapper for a vanilla ponent which I need access to in the parent.
I am trying to create a ref which is unique and accessible only inside the parent (App
) ponent, and my understanding is that I should do that inside setup
method like so: const myRef = ref(null)
But alas, myRef.value
is forever null
本文标签: javascriptvue ref on custom child component not workingStack Overflow
版权声明:本文标题:javascript - vue ref on custom child component not working - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742201655a2432071.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论