This commit is contained in:
ThatOneCalculator 2022-10-25 11:51:11 -07:00
parent efee3a1494
commit 51c7f8dd89

View file

@ -115,8 +115,8 @@ function setSwiperRef(swiper) {
} }
function onSlideChange() { function onSlideChange() {
tab = tabs[useSwiper().value.activeIndex]; const current = useSwiper();
console.log(tabs); tab = tabs[current.value.activeIndex + 1];
} }
function syncSlide(index) { function syncSlide(index) {