15724580513 5 anos atrás
pai
commit
66a1f44126

+ 1 - 1
src/views/client/examsystem.vue

@@ -46,7 +46,7 @@
             <h4 class="client-title">产品展示</h4>
             <div class="product-show-container">
                 <el-carousel :interval="4000" type="card" arrow="never">
-                    <el-carousel-item v-for="item in productShowCarousels">
+                    <el-carousel-item v-for="(item,index) in productShowCarousels" :key="index">
                         <div class="product-show-carousel">
                             <img :src="item.img">
                             <h5>{{item.title}}</h5>

+ 1 - 1
src/views/client/trainsystem.vue

@@ -46,7 +46,7 @@
             <h4 class="client-title">产品展示</h4>
             <div class="product-show-container">
                 <el-carousel :interval="4000" type="card" arrow="never">
-                    <el-carousel-item v-for="item in productShowCarousels">
+                    <el-carousel-item v-for="(item,index) in productShowCarousels" :key="index">
                         <div class="product-show-carousel">
                             <img :src="item.img">
                             <h5>{{item.title}}</h5>