1 Ext.each(hosts,function(host){ 2 if(host.isAgentOk){ 3 return false;//不能使用return 4 }else{ 5 failAgentLen++; 6 } 7 });
转载于:https://www.cnblogs.com/kenn/archive/2012/05/10/2493900.html
1 Ext.each(hosts,function(host){ 2 if(host.isAgentOk){ 3 return false;//不能使用return 4 }else{ 5 failAgentLen++; 6 } 7 });
转载于:https://www.cnblogs.com/kenn/archive/2012/05/10/2493900.html