org.apache.catalina.lifecycleException:failed to start component...
问题:上传war包由于网络不稳定,启动tomcat出现问题。
解决:重新上传war包,启动正常。
禁止div点击
pointer-events: none;
pointer-events: 设置或检索在何时成为属性事件的target
//直接设置css样式
// 屏蔽点击
$('body').css('pointer-events', 'none');
//恢复默认
$('body').css('pointer-events', 'auto');
//通过class设置div是否禁止点击
.disable {
pointer-events: none;
}
$(this).addClass("disable");
$(this).removeClass("disable");