下面是我的 json 结构,在收集获取后我无法循环遍历它。
JSON:
{ "science":[{},{},{},...{}], "maths":[{},{},{},...{}], "english":[{},{},{},...{}], }
this.collection.each(function(m) {
//returns me only only single child object named "r"
//screenshot attached below
});
我怎样才能循环 3 次,即 3 个 diff 数组对象?