function cancelBubble(e){ if(e&&e.stopPropagation){ e.stopPropagation() } } 转载于:https://www.cnblogs.com/Fourteen-Y/p/8579895.html