vue中用v-for遍历出的li中的@click事件在移动端无效

使用的better-scroll默认会阻止touch事件。所以在配置中需要加上click: true

 this.menuScroll = new BScroll(this.$refs.menuScroll, {
        probeType: 3, //在屏幕滑动和滚动动画中都会触发scroll事件,
        click: true
      });
原文地址:https://www.cnblogs.com/renranwj/p/12275838.html