一个div中有一个a标签,点击a标签的时候不进入div的点击事件

//阻止冒泡上层click
event.stopPropagation();

posted @ 2019-01-09 15:42  何以平天下  阅读(834)  评论(0编辑  收藏  举报