stopPropagation vs preventDefault djz 2021-06-27 299 阅读1分钟 preventDefault 方法只能阻止浏览器默认的事件触发,对于 js 用户添加上去的事件无法阻止。如果要阻止冒泡,可以用 stopProgation, 防止后续事件的触发。