@tarojs/components 3.6.0-beta.0 → 3.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +3 -5
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
- package/dist/collection/components/swiper/swiper.js +3 -5
- package/dist/collection/components/swiper/swiper.js.map +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +3 -5
- package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/taro-components/{p-d388c097.entry.js → p-22315b9d.entry.js} +2 -2
- package/dist/taro-components/p-22315b9d.entry.js.map +1 -0
- package/dist/taro-components/{p-6831f7b1.system.entry.js → p-c3c37cbb.system.entry.js} +2 -2
- package/dist/taro-components/p-c3c37cbb.system.entry.js.map +1 -0
- package/dist/taro-components/p-cb17d8bd.system.js +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/package.json +4 -4
- package/dist/taro-components/p-6831f7b1.system.entry.js.map +0 -1
- package/dist/taro-components/p-d388c097.entry.js.map +0 -1
|
@@ -9886,11 +9886,9 @@ const Swiper = class {
|
|
|
9886
9886
|
this.handleSwiperLoop = index$2.debounce(() => {
|
|
9887
9887
|
if (this.swiper && this.circular) {
|
|
9888
9888
|
// @ts-ignore
|
|
9889
|
-
this.swiper.
|
|
9890
|
-
// @ts-ignore
|
|
9891
|
-
this.swiper.loopCreate();
|
|
9889
|
+
this.swiper.loopFix();
|
|
9892
9890
|
}
|
|
9893
|
-
},
|
|
9891
|
+
}, 50);
|
|
9894
9892
|
this.handleSwiperSize = index$2.debounce(() => {
|
|
9895
9893
|
if (this.swiper && !this.circular) {
|
|
9896
9894
|
this.swiper.updateSlides();
|
|
@@ -10047,7 +10045,7 @@ const Swiper = class {
|
|
|
10047
10045
|
slideChangeTransitionStart(_swiper) {
|
|
10048
10046
|
if (that.circular) {
|
|
10049
10047
|
if (_swiper.isBeginning || _swiper.isEnd) {
|
|
10050
|
-
_swiper.slideToLoop(this.realIndex, 0)
|
|
10048
|
+
// _swiper.slideToLoop(this.realIndex, 0, false) // 更新下标
|
|
10051
10049
|
return;
|
|
10052
10050
|
}
|
|
10053
10051
|
}
|