huiy

用 return false, 不是 break。

$.each(resArray, function(j, n) {
     if (1 == n) {
         return false;
     }
});

分类:

技术点:

相关文章: