diff --git a/pages/template/swiper-list/swiper-list.uvue b/pages/template/swiper-list/swiper-list.uvue index 8f00df76bbd0f2e723404ce091cafb7e20ea92fa..9d1c95f6223e642fb7ea0d5b3974d79597538723 100644 --- a/pages/template/swiper-list/swiper-list.uvue +++ b/pages/template/swiper-list/swiper-list.uvue @@ -2,7 +2,7 @@ - {{item.title}} @@ -103,7 +103,9 @@ const percentage = Math.abs(current_offset_x) / this.swiperWidth // 通知更新指示线 - this.updateTabIndicator(current_index, move_to_index, percentage) + if (current_index != move_to_index) { + this.updateTabIndicator(current_index, move_to_index, percentage) + } }, /** * Swiper滑动动画结束事件.