Browse Source

默认图片

王通 2 years ago
parent
commit
b6d0589711
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/forest.vue

+ 2 - 2
src/views/forest.vue

@@ -98,7 +98,7 @@
         </div>
       </div>
       <!-- 地图 -->
-      <supermap ref="supermap" style="width: 100%;height: 100vh;" @showEventDialog="showEventDialog" :showLayer="true" @fatherMethod="fatherMethod" @error="showDefaultImg"></supermap>
+      <supermap ref="supermap" style="width: 100%;height: 100vh;" @showEventDialog="showEventDialog" :showLayer="true" @fatherMethod="fatherMethod" "></supermap>
       <!-- 右侧 -->
       <div class="rightbar rightbar-index" ref="right">
         <div class="right-item1">
@@ -285,7 +285,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 == '601'"
                          src="../assets/images/大气监测.png"
                          style="width: 93px;height: 64px"/>