var mySwiper = new Swiper('.swiper-container', {            speed: 1000,            loop: true,            observer:true,            observeParents:true,            autoplayDisableOnInteraction : false,            autoplay:1000,            onSlideChangeStart:function(swiper)            {                console.log(swiper.activeIndex)            }        });        <div class="swiper-slide" ng-repeat="img in imgs"><img class="img" src="{{img.pic}}"/></div>这是控制台打印的index:1 2 3 1 2 3 1 2 3...,index 0 无法显示。
                    
                    
                添加回答
举报
0/150
	提交
		取消
	
