自己加判断
var keepGoing = true; angular.forEach([0,1,2],function(count){ if(keepGoing) { if(count == 1){ keepGoing = false; } } });转自这里:http://blog.csdn.net/u013291076/article/details/43021245
自己加判断
var keepGoing = true; angular.forEach([0,1,2],function(count){ if(keepGoing) { if(count == 1){ keepGoing = false; } } });转自这里:http://blog.csdn.net/u013291076/article/details/43021245