Limit recursion with one deepest loop and assign exact id to all elements

前端 未结 2 1300
旧巷少年郎
旧巷少年郎 2021-01-28 07:40

It is necessary to order the elements from the mixed order. Ordering is done using the recursion method. Two conditions must be met that while are not implemented in the code:

2条回答
  •  后悔当初
    2021-01-28 08:20

    This is a change to your root template. Your other templates stay the same. Hopefully, this will help.

      
        
          
        
    
        
    
        
          
            
              
                
              
              
                
              
                   
          
        
    
        
    
        
          
            
            
          
        
    
        
    
        
    
        
          
            
    
            
    
          
        
      
    

提交回复
热议问题