//这是新菜单 从下面的旧菜单筛选出来的 请问怎么做成这样
//新菜单从旧菜单筛选出来的 var newMenuListJSonStr = [ { "title": "实时监测", "icon": "new/t-1", "spread": true, "children": [{ "title": "用能分布可视化", "iconCls": "thirdLevelMenu/57", "href": "energyMonitor/energyDistributionVisual" }, { "title": "变配电监测", "icon": "thirdLevelMenu/56", "href": "energyMonitor/byqSVGMonitor" }] } ]; //旧菜单 var oldData = [{ "iconCls": "new/t-1", "id": "4754406", "name": "实时监测", "pid": "0", "subFunctionMenuList": [ [{ "iconCls": "c_sbjb", "id": "4754407", "name": "能耗可视化管理", "pid": "4754406", "subFunctionMenuList": [ [{ "iconCls": "thirdLevelMenu/57", "id": "4754408", "name": "用能分布可视化", "pid": "4754407", "subFunctionMenuList": [ [ ] ], "url": "energyMonitor/energyDistributionVisual" }, { "iconCls": "thirdLevelMenu/56", "id": "4754467", "name": "变配电监测", "pid": "4754407", "subFunctionMenuList": [ [ ] ], "url": "energyMonitor/byqSVGMonitor" }] ], "url": "energyMonitor" }] ], "url": "/" }];
ExiaGo