fix pages index

This commit is contained in:
ThatOneCalculator 2022-11-12 13:27:07 -08:00
parent 10cb1caac8
commit d5fbd8ca0c
3 changed files with 4 additions and 2 deletions

View file

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

View file

@ -169,6 +169,8 @@ function syncSlide(index) {
}
onMounted(() => {
syncSlide(tabs.indexOf(swiperRef.activeIndex));
connection = markRaw(stream.useChannel('messagingIndex'));
connection.on('message', onMessage);

View file

@ -39,7 +39,7 @@
<script lang="ts" setup>
import { computed, inject } from 'vue';
import Virtual from 'swiper';
import { Virtual } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/vue';
import MkPagePreview from '@/components/MkPagePreview.vue';
import MkPagination from '@/components/MkPagination.vue';