How do I get future component element objects for dynamic rendering in a vue project? Invalid use of ref

The

page refers to an encapsulated subcomponent in a loop, and when entering the page, it is passed into the subcomponent multiple times according to the returned data, so you first need to get the subcomponent element object in the page. Because the subcomponents are generated dynamically on the page and cannot be obtained using ref, how to obtain such future elements (subcomponents)? Next, I need to pass the data into the encapsulated element cascade selector

 <el-form-item label="" required>    
          <plaCate  :ref="index"  ></plaCate>
 </el-form-item> 
                        
Mar.18,2021

Native js get dom

Menu