Question There is a tree structure menu that supports unlimited nesting levels. It is necessary to obtain the path of the node where the submenu is located according to a certain submenu that the user clicks, which is similar to the breadcrumb effect. A qualified tree menu data structure const menu = [ { id : '1' , label : 'Level 1' , children : [ { id : '11' , label : 'Level 2 1-1' , children : [ { id : '111' , label : 'Level 3 1-1-1' } ] } ] } , { id : '2' , label : 'Level 1 2' , children : [ { id : '21' , label : 'Level 2 2-1' , children : [ { id : '211' , label : 'Level 3 2-1-1' } ] } , { id : '22' , ...