如果轮播图数据是写死的话,可以在 componentDidMount 组件中初始化Swiper ... loop: true, autoplay:{ delay: 2500, ... this.swiper.slideTo(0, 0);
確定! 回上一頁