js鼠标事件onmouseover与onmouseout多次触发

原因:冒泡和捕获

建议使用onmouseenter与onmouseleave代替

posted @ 2019-08-06 20:53  绿谷  阅读(1320)  评论(0编辑  收藏  举报