From 51c7f8dd895ca46c5da8fe9f1ccc1939de0722ea Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 25 Oct 2022 11:51:11 -0700 Subject: [PATCH] test --- packages/client/src/pages/explore.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/pages/explore.vue b/packages/client/src/pages/explore.vue index 1df77d920..6c4d3de23 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) {