Преглед изворни кода

删除模拟的是11条数据 slice(0,11)

yunxing пре 4 година
родитељ
комит
5757ee4a6d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/equipmentFacilities/MSwiper.vue

+ 1 - 1
src/components/equipmentFacilities/MSwiper.vue

@@ -76,7 +76,7 @@ export default {
     },
     created() {
         swiperVm = this
-        this.swiperList = cloneDeep(this.list.slice(0, 11))
+        this.swiperList = cloneDeep(this.list)
         let swiperData = []
         swiperData = this.group(this.swiperList, 15)
         this.swiperData = swiperData