使用的better-scroll默认会阻止touch事件。所以在配置中需要加上click: true
mounted () {
this.scroll = new Bscroll(this.$refs.wrapper, { mouseWheel: true, click: true, tap: true })
}
使用的better-scroll默认会阻止touch事件。所以在配置中需要加上click: true
mounted () {
this.scroll = new Bscroll(this.$refs.wrapper, { mouseWheel: true, click: true, tap: true })
}