fix
This commit is contained in:
parent
09d3740c67
commit
02ccf1dbe4
@ -276,6 +276,7 @@ let swiperRef = null;
|
|||||||
|
|
||||||
function setSwiperRef(swiper) {
|
function setSwiperRef(swiper) {
|
||||||
swiperRef = swiper;
|
swiperRef = swiper;
|
||||||
|
syncSlide(timelines.indexOf(src));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSlideChange() {
|
function onSlideChange() {
|
||||||
@ -286,7 +287,6 @@ function syncSlide(index) {
|
|||||||
swiperRef.slideTo(index);
|
swiperRef.slideTo(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
syncSlide(timelines.indexOf(src));
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user