From b315e88f9fa8da7e37a982939e38237c89d97cfc Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 23:00:42 -0700 Subject: [PATCH] feat: :sparkles: pagination --- package.json | 2 +- packages/client/src/pages/timeline.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9c6a9d2e3..363254a41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.118.1-calc.12.4", + "version": "12.118.1-calc.12.5", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index e4300bc2e..e2765903f 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -36,7 +36,7 @@ />
- + import { defineAsyncComponent, computed, watch, ref } from 'vue'; -import { Virtual } from 'swiper'; +import { Pagination, Virtual } from 'swiper'; import { Swiper, SwiperSlide } from 'swiper/vue'; import XTimeline from '@/components/timeline.vue'; import XPostForm from '@/components/post-form.vue'; @@ -112,7 +112,8 @@ import { instance } from '@/instance'; import { $i } from '@/account'; import { definePageMetadata } from '@/scripts/page-metadata'; import { deviceKind } from '@/scripts/device-kind'; -import 'swiper/css'; +import 'swiper/scss'; +import 'swiper/scss/pagination'; const XTutorial = defineAsyncComponent(() => import('./timeline.tutorial.vue'));