diff --git a/pages/template/swiper-list2/swiper-list2.uvue b/pages/template/swiper-list2/swiper-list2.uvue index 83d7febb16c8afa1d42bfc4f4d14c7884af0024c..18b82f54bbc5ed536fca99f166372a09d93eea62 100644 --- a/pages/template/swiper-list2/swiper-list2.uvue +++ b/pages/template/swiper-list2/swiper-list2.uvue @@ -99,7 +99,7 @@ }, updateTabIndicator(current_index : number, move_to_index : number, percentage : number) { // TODO 0.0 != 0 - if (percentage.toInt() == 0) { + if (percentage.toDouble() == 0.0) { return }