两者的区别是, mouseenter 事件只触发一次,而只要鼠标在节点内部移动, mouseover 事件会在子节点上触发多次。 /* HTML 代码如下<ul> <li>item 1</li> <li>item 2</li> < ...
確定! 回上一頁