轮播图 string类型改成 number类型 要不然有警告

master
Yer 2023-07-14 13:45:00 +08:00
parent 6feb650f06
commit 2c8e34008f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<div class="nav-content"> <div class="nav-content">
<!-- 轮播图 --> <!-- 轮播图 -->
<!-- autoplay autoplay-speed="10000"--> <!-- autoplay autoplay-speed="10000"-->
<Carousel :height="333.9" autoplay autoplay-speed="5000"> <Carousel :height="333.9" autoplay :autoplay-speed="5000">
<CarouselItem v-for="(item, index) in data.options.list" :key="index"> <CarouselItem v-for="(item, index) in data.options.list" :key="index">
<div class="swiper-img" > <div class="swiper-img" >
<img <img