This commit is contained in:
ThatOneCalculator 2022-10-25 11:54:08 -07:00
parent b7961ce6a9
commit ac0aa5c2c0
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.1-rc.9.6",
"version": "12.119.0-calc.1-rc.9.7",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -40,7 +40,7 @@
<script lang="ts" setup>
import { computed, watch } from 'vue';
import { Virtual } from 'swiper';
import { Swiper, SwiperSlide, useSwiper } from 'swiper/vue';
import { Swiper, SwiperSlide } from 'swiper/vue';
import XFeatured from './explore.featured.vue';
import XUsers from './explore.users.vue';
import type MkFolder from '@/components/MkFolder.vue';
@ -115,8 +115,7 @@ function setSwiperRef(swiper) {
}
function onSlideChange() {
const current = useSwiper();
tab = tabs[current.value.activeIndex + 1];
tab = tabs[swiperRef.activeIndex + 1];
}
function syncSlide(index) {