Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Swiper循环播放属性是哪个?
循环播放属性:autoplay (理论上):设置为true时,可以实现循环播放 (实际上):播放到最后一张就不会循环
在文件\node_modules\@tarojs\components\src\components\swiper\index.js中,将stopOnLastSlide设置为false,可以实现循环播放。
\node_modules\@tarojs\components\src\components\swiper\index.js
楼主你好我的应用在h5端不会循环播放,按照你的提示修改源码还是不行。最后解决办法是在没有数据的时候不渲染swiper,有数据才渲染swiper。这样能解决h5端 swiper不会循环的问题。