Create a nested UL menu based on the URL path structure of menu items

前端 未结 6 618

I have an array of menu items, each containing Name and URL like this:

var menuItems = [  
    {  
        name : \"Store\",  
        url : \"/store\"  
          


        
6条回答
提交回复
热议问题