mounted(){

  //监听鼠标滚动事件

  window.addEventListener('mousewheel',this.handleScroll);

},

 

handleScroll(m){

  console.log(m.deltaY)

}

posted on 2021-07-22 09:48  Charonっ  阅读(563)  评论(0编辑  收藏  举报