<swiper ref="swiper4" class="swiper mySwiper " :options="swiperOption">
<swiper-slide v-for="nowList,index in ranks" class="card boxItem " :key="index">
this.$refs.swiper4.$swiper.slideTo(2, 1000, false);//切换到第一个slide,速度为1秒
<swiper ref="swiper4" class="swiper mySwiper " :options="swiperOption">
<swiper-slide v-for="nowList,index in ranks" class="card boxItem " :key="index">
this.$refs.swiper4.$swiper.slideTo(2, 1000, false);//切换到第一个slide,速度为1秒