Js代码 //json 传过来的map List 类型遍历 for(var key in map){ console.log(map[key] +' '+key); } for(var i in list){ console.log(list[i]); }