var rows=data.result.rows;
$.each(rows, function(i, item){
if(item.value==6){
delete rows[i];
rows.length--;
}
});
return rows;
json过滤删除
最新推荐文章于 2022-03-18 18:53:08 发布
var rows=data.result.rows;
$.each(rows, function(i, item){
if(item.value==6){
delete rows[i];
rows.length--;
}
});
return rows;