Add TypeScript ignore comments to swiper initialization

This commit is contained in:
wangqiao
2025-08-27 15:49:35 +08:00
parent 720ff7484c
commit 600c3e9f18

View File

@ -41,12 +41,14 @@
onMounted(() => {
// Initialize Swiper
// @ts-ignore
var swiper = new Swiper('.mySwiper', {
spaceBetween: 10,
slidesPerView: 4,
freeMode: true,
watchSlidesProgress: true,
})
// @ts-ignore
var swiper2 = new Swiper('.mySwiper2', {
spaceBetween: 10,
navigation: {