Showing
1 changed file
with
1 additions
and
1 deletions
@@ -17,7 +17,7 @@ var winH = $(window).height(), | @@ -17,7 +17,7 @@ var winH = $(window).height(), | ||
17 | 17 | ||
18 | var swiper; | 18 | var swiper; |
19 | 19 | ||
20 | -// slide 个数大于 1 事,使用 swiper ,否则只显示单张图片 | 20 | +// slide 个数大于 1 时,使用 swiper ,否则只显示单张图片 |
21 | if ($('.swiper-container').length > 1) { | 21 | if ($('.swiper-container').length > 1) { |
22 | swiper = new Swiper('.swiper-container', { | 22 | swiper = new Swiper('.swiper-container', { |
23 | lazyLoading: true, | 23 | lazyLoading: true, |
-
Please register or login to post a comment