// 阻止浏览器的默认行为
window.event?window.event.returnValue=false:e.preventDefault();
//停止事件冒泡
window.event?window.event.cancelBubble=true:e.stopPropagation();
转载于:https://www.cnblogs.com/zousaili/p/9239455.html
// 阻止浏览器的默认行为
window.event?window.event.returnValue=false:e.preventDefault();
//停止事件冒泡
window.event?window.event.cancelBubble=true:e.stopPropagation();
转载于:https://www.cnblogs.com/zousaili/p/9239455.html