1***@qq.com
-
发布:2019-10-17 18:46
-
更新:2020-09-16 23:33
-
阅读:2401
微信开发工具提示 [swiper] current无效,请修改current值
分类:uni-app
手动设置也无效,有解决办法吗?
<swiper class="swiper" circular :indicator-dots="swiperData.indicatorDots" @change="changeSwiper" :autoplay="swiperData.autoplay"
interval="swiperData.interval" :duration="swiperData.duration" :current="current" v-if="show">
<block v-for="(item, index) in indexData.banners">
<swiper-item :key="index">
<image :src="item.image" :key="index" class="swiper-item" @click="jumpPage(item.router_param)"></image>
</swiper-item>
</block>
</swiper>
onShow() {
this.current = 0;
},
1 个回复
9***@qq.com
请问你解决了吗?