Prechádzať zdrojové kódy

事件列表图片加载失败 显示默认图片

JX.LI 1 rok pred
rodič
commit
9fb7266161

+ 0 - 1
src/views/eventdetailsdialog.vue

@@ -232,7 +232,6 @@
                   style="position: absolute; top: 0; left: 0"
                   :mapDiv="'forestWarmSuperMap'"
                   :mapSite="{
-                    zoom: 12,
                     doubleClickZoom: false,
                     dragging: false,
                     scrollWheelZoom: false,

+ 17 - 11
src/views/firespread.vue

@@ -72,7 +72,7 @@
                 <!-- 地图 -->
                 <supermapDialog1 ref="supermapDialog1" style="position: absolute; top:0;left: 0;"
                                  :mapDiv="'forestWarmSuperMap'"
-                                 :mapSite="{zoom:16,doubleClickZoom:true,dragging:true,scrollWheelZoom:true}" :codes="['9fa5']"
+                                 :mapSite="{doubleClickZoom:true,dragging:true,scrollWheelZoom:true}" :codes="['9fa5']"
                                  :isSideBySide="false" @preview="preview" />
                 <!-- 地图end -->
               </div>
@@ -3183,11 +3183,14 @@ export default {
           markersMapList.push(markersMap)
         }
         setTimeout(() => {
-          that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
-          that.$refs.supermapDialog1.clearM(false)
-          that.$refs.supermapDialog1.clearM(true)
-          that.$refs.supermapDialog1.setMarkersRadius(markersMapList)
-        }, 2000)
+          that.$refs.supermapDialog1.dropLocation10(
+            res.data.catalogue.latitude,
+            res.data.catalogue.longitude
+          );
+            that.$refs.supermapDialog1.clearM(false);
+            that.$refs.supermapDialog1.clearM(true);
+            that.$refs.supermapDialog1.setMarkersRadius(markersMapList);
+        }, 2000);
       })
     },
     refreshEvent(eventCode) {
@@ -3280,11 +3283,14 @@ export default {
           markersMapList.push(markersMap)
         }
         setTimeout(() => {
-          that.$refs.supermapDialog1.clearM(false)
-          that.$refs.supermapDialog1.clearM(true)
-          that.$refs.supermapDialog1.setMarkersRadius(markersMapList)
-          that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
-        }, 2000)
+          that.$refs.supermapDialog1.dropLocation10(
+            res.data.catalogue.latitude,
+            res.data.catalogue.longitude
+          );
+            that.$refs.supermapDialog1.clearM(false);
+            that.$refs.supermapDialog1.clearM(true);
+            that.$refs.supermapDialog1.setMarkersRadius(markersMapList);
+        }, 2000);
       })
     },
     refreshEventDialog(eventCode) {

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 5 - 2
src/views/forest.vue