js 双层对象转换双层数组

双层对象 . let jurisdiction = await Netx.get_access_list();//后台获取的双层对象 let arr1=[];//大数组 for(var i in jurisdiction.data.access){//循环遍历每一个对象 let arr2=[];//小数组 for(var n in jurisdiction.data.access[i].child
相关文章
相关标签/搜索