This commit is contained in:
ThatOneCalculator 2022-10-25 11:51:11 -07:00
parent 42a7c07cee
commit b22bd156e7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {