王通 hai 1 ano
pai
achega
7d0fc9d69e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"/>