摘要: event.stopPropagation();//阻止事件冒泡 ,可阻止父类事件的发生 event.preventDefault();//阻止默认行为 如A标签 阅读全文
posted @ 2019-09-12 15:16 古月大叔 阅读(5136) 评论(0) 推荐(0) 编辑