一、如果是非loop模式一般使用更新方法就行
swiper.update()
二、但是,在loop模式,使用这个update方法无效,解决办法如下
const swiper = this.swiper;
swiper.loopDestroy();
swiper.loopCreate();
参考链接
swiper.update()
const swiper = this.swiper;
swiper.loopDestroy();
swiper.loopCreate();
参考链接