mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-08-17 06:49:38 +08:00
fix: 轮播图循环展示图片
This commit is contained in:
parent
9a25f5d5ad
commit
be475d1b6f
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="img-slider">
|
||||
<Swiper :modules="modules" autoplay>
|
||||
<Swiper :modules="modules" autoplay loop>
|
||||
<template v-for="{ src, alt } of imgSliderList" :key="src">
|
||||
<SwiperSlide>
|
||||
<img :src="src" :alt="alt" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user