王通 il y a 1 an
Parent
commit
7d0fc9d69e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/forest.vue

+ 1 - 1
src/views/forest.vue

@@ -280,7 +280,7 @@
                   @click="dropLocation(item.latitude, item.longitude,item.eventCode)" data-html2canvas-ignore>
                   <div class="bgt-img">
                     <img v-if="item.picturePath != null && item.picturePath != '' && item.pictureType == 'image'"
-                      :src="item.picturePath" style="width: 93px;height: 64px" loading="lazy" />
+                      :src="item.picturePath" style="width: 93px;height: 64px" loading="lazy"  @error="showDefaultImg"/>
                     <img v-else-if="item.eventType == '510'"
                          src="../assets/images/水压.png"
                          style="width: 93px;height: 64px"/>