最近,可能有有jquery定义全局变量太乱了,出现了个问题.在""尚未包含人员"的情况下,应该是不显示右边数据的内容的
想到了jquery中隐藏
css样式 .hide{display:none}
jquery中
var doText = $('#personList').find("p:contains('尚未包含人员')");
if(doTex.length>0){
$('#dataList').addClass('hide');
}else{
$('#dataList').removeClass('hide');
}