我们可以在事件对象中使用event. defaultPrevented属性。它返回一个布尔值用来表明是否 在特定元素中调用了 event. preventDefault () 。
Proudly powered by WordPress