diff --git a/packages/client/src/pages/explore.vue b/packages/client/src/pages/explore.vue index 1df77d920c..6c4d3de232 100644 --- a/packages/client/src/pages/explore.vue +++ b/packages/client/src/pages/explore.vue @@ -115,8 +115,8 @@ function setSwiperRef(swiper) { } function onSlideChange() { - tab = tabs[useSwiper().value.activeIndex]; - console.log(tabs); + const current = useSwiper(); + tab = tabs[current.value.activeIndex + 1]; } function syncSlide(index) {