原因是你使用了better-scroll,默认它会阻止touch事件。所以在配置中需要加上如下属性就可以了
mounted(){
this.scroll=new Bscroll(this.$refs.wrapper, { mouseWheel: true, click: true, tap: true })
}
原因是你使用了better-scroll,默认它会阻止touch事件。所以在配置中需要加上如下属性就可以了
mounted(){
this.scroll=new Bscroll(this.$refs.wrapper, { mouseWheel: true, click: true, tap: true })
}