摘要: 使用jQuery中 $.each()遍历数组,要遍历的数组不能为空(arry!="") 例如: $.each(arry, function (i, item) { //操作 }) 如果arry=="";此时程序不会报错,也不会往下走,会卡在这个地方不会动, 如果在操作里面写console.log(" 阅读全文
posted @ 2020-10-02 22:20 你真有趣 阅读(895) 评论(0) 推荐(0)