关于vue项目使用swiper,前进后退按钮,自动播放失效

swiper版本下载是3.5.1版本

mounted () {
        this.initSwiper()
    },
    methods: {
      initSwiper () {
      const mySwiper  = new Swiper('.swiper-container', {
        slidesPerView: 4,
        loop: true,
        autoplay: true,
        prevButton:'.swiper-button-prev',
        nextButton:'.swiper-button-next',
      })
      }
    }

前进后退按钮,自动播放没有生效~~

求解答

有一个属性可以设置,

autoplay: {
          disableOnInteraction: false
        }

https://www.jianshu.com/p/440bb7cc08f5

autoplay的设置,未指定pagination

既然都用vue了,不如选个ui库,里面一般会自带兼容性高的轮播,节省很多开发时间