소스 검색

删除模拟的是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() {
     created() {
         swiperVm = this
         swiperVm = this
-        this.swiperList = cloneDeep(this.list.slice(0, 11))
+        this.swiperList = cloneDeep(this.list)
         let swiperData = []
         let swiperData = []
         swiperData = this.group(this.swiperList, 15)
         swiperData = this.group(this.swiperList, 15)
         this.swiperData = swiperData
         this.swiperData = swiperData