配置对应日志总量为0时,不加日志查询弹框

This commit is contained in:
duandongmei
2018-09-12 20:26:34 +08:00
parent dda68fb83c
commit 12e8bdbeda

View File

@@ -1365,11 +1365,11 @@ var GetLogTotal=function(_data){
for(var i=0;i<data.length;i++){
if($(this).attr("compileId")==data[i].compileId){
$(this).attr("id",i+"logTotal");
/*if(data[i].sum != 0){*/
if(data[i].sum != 0){
$(this).html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].sum+"<a>");
/*}else{
}else{
$(this).html(data[i].sum);
}*/
}
hasLog=true;
}
}