haha(){ var that=this; that.$refs.mySwiper.swiper.slideTo(1, 1000, false); } //以上代码是 获取ref值为myswiper的实例swiper,之后跳转到第二页,时间为1s,为false时不触发onSlideChange回调 Read More
posted @ 2018-10-26 19:46 古墩古墩 Views(1884) Comments(0) Diggs(0) Edit