2019独角兽企业重金招聘Python工程师标准>>> event.stopPropagation(); 阻止事件冒泡,点击里面的a的时候不触发外面的div的点击事件 转载于:https://my.oschina.net/u/2494395/blog/744995