What is the problem with the property values of vue parent-child components?

when I am developing the list page and the list details page, the details page is a sub-component. In the details page, I get the data by calling the interface and then change a property value corresponding to the details page. In the parent component mounted () , I found console.log (me.$refs ["leaveapplydetail"]) print leavetype , but directly console.log (me.$refs [" leaveapplydetail"] .uploetype) has no value. Why?

Mar.12,2021

there is no value when you initialize, the value is added later; since me.$refs ['leaveapplydetail'] is an object, of course there is a value

when you look at it later.
Menu