refs can't get the correct component array but get one of the components
Version
3.2.31
Reproduction link
Steps to reproduce
Put the component with the same ref attribute into the slot position of the component provided by the third party through the loop
What is expected?
testCompRef.value is ChildCompArray
What is actually happening?
testCompRef.value is only a compennt
In this example, the loop occurs in another component, ThridComp. TiridComp exposes the component interface through slot. When App.vue uses ThridComp, refs cannot get the component array.
use a function ref please.