Replies: 1 comment
-
这个是 MDN 标准哈,DOM 的 dblclick 也会触发两次 click。可以通过在 on click 中自己加一个定时器,来决定是否执行 click 的逻辑 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何在触发节点的dblclick事件时,不触发2次click?
Beta Was this translation helpful? Give feedback.
All reactions