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