var exeFlag = 0;//控制执行业务次数标记
$('#list1').bind('DOMNodeInserted', function () {
if(!/img/.test($("td[aria-describedby$='icon']").html())){
if(exeFlag == 0){
console.log("业务处理");//只执行一次
exeFlag = 1;
}
}else{
exeFlag = 0;
}
});
转载于:https://www.cnblogs.com/shanyingyuyan/p/11177668.html