Jelajahi Sumber

截图上传不加载首页列表图片

彭宇 2 tahun lalu
induk
melakukan
254c86f088
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/forest.vue

+ 2 - 2
src/views/forest.vue

@@ -277,11 +277,11 @@
                   </el-input>
                 </div>
                 <div class="d-l-con padding-box nowrap" v-for="(item,index) in eventList"
-                     @click="dropLocation(item.latitude,item.longitude)">
+                     @click="dropLocation(item.latitude,item.longitude)" 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"/>
+                         style="width: 93px;height: 64px" loading="lazy"/>
                     <img v-else src="../assets/images/integrated/event-img-sub.png" style="width: 93px;height: 64px"/>
                   </div>
                   <div class="bgt-info">