我尝试在$ .each循环中加入current_series
,
然而,它不起作用,任何想法?
Uncaught ReferenceError: current_series is not defined(…)
$.each($scope.flights, function() {
var current_series = this;
$.each(current_series.data, function(){
console.log(current_series)
})
});