标签:ida utf-8 引用 push ini XML new 解决方案 1.0
var exist=false; var Idarray=[‘index‘]; for (var i = 0; i < Idarray.length; i++) { if (Idarray[i] == showedId) { exist = true; console.log(‘exist already‘); return; } } //only init when it doesn‘t exist. if (!exist) { Idarray.push(showedId); console.log(Idarray); new Swiper(‘#‘ + showedId + ‘-swiper‘, { pagination: ‘.swiper-pagination‘, paginationType: ‘fraction‘ }); }
swiper bugs if multi swipers exit
标签:ida utf-8 引用 push ini XML new 解决方案 1.0
原文地址:http://www.cnblogs.com/defoliate/p/6888452.html