Explorar o código

更新 Swiper组件默认数据引用

wzh %!s(int64=4) %!d(string=hai) anos
pai
achega
5d32d59410
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/components/SafetyModule.vue

+ 4 - 1
src/components/SafetyModule.vue

@@ -4,7 +4,10 @@
     <CargoOwnderCard></CargoOwnderCard>
     <ShipInfoCard></ShipInfoCard>
     <CapacityCard></CapacityCard>
-    <Swiper style="height: 150px; margin: 10px 0"></Swiper>
+    <Swiper
+      :imgs="this.$store.state.imgs"
+      style="height: 150px; margin: 10px 0"
+    ></Swiper>
   </div>
 </template>