???????????? |
发不了图片我就把改过的地方贴上来 mounted() { this.$nextTick(() => { const swiperTop = this.$refs.swiperTop.swiper const swiperThumbs = this.$refs.swiperThumbs.swiper swiperTop.controller.control = swiperThumbs // swiperThumbs.controller.control = swiperTop swiperTop.slideTo(this.imgid) }); }, methods:{ slideTop(i){ const swiperTop = this.$refs.swiperTop.swiper swiperTop.slideTo(i,100,false) } }, |
咋发布了图片呢 |
已经解决了,不知道有没有人跟我一样被他困扰了很久,为了让我自己记住还是把代码贴出来吧 |
Archiver|手机版|小黑屋|Swiper中文网 ( 粤ICP备15001020号 )
GMT+8, 2024-11-22 15:10 , Processed in 0.067111 second(s), 33 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.