首页 > 技术文章 > 取消事件冒泡
Fourteen-Y 2018-03-16 11:28 原文
function cancelBubble(e){ if(e&&e.stopPropagation){ e.stopPropagation() } }