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