Fetching child component instances with refs in script setup is not available
Version
3.1.0-beta.2
Reproduction link
Steps to reproduce
When a child component uses Script Setup,I try to get the child instance through refs, I get an empty object
What is expected?
When a child component uses Script Setup, an instance of the child component can be obtained through refs
What is actually happening?
You can't get a child component instance when a child uses Script Setup, but you can get instance data when a child uses DefineComponent ({setUp (){}})