test
This commit is contained in:
parent
42a7c07cee
commit
b22bd156e7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue