shaogen1995 %!s(int64=2) %!d(string=hai) anos
pai
achega
24dc2d10c6

+ 1 - 1
QJKK/public/config/config.json

@@ -42,7 +42,7 @@
       "infoBox": false,
       "geocoder": false,
       "selectionIndicator": false,
-      "contextmenu": { "hasDefault": true },
+      "contextmenu": { "hasDefault": false },
       "mouseDownView": true,
       "zoom": false,
       "compass": false,

+ 1 - 1
QJKK/src/framework/show/component/Map.vue

@@ -50,7 +50,7 @@ export default {
       const modelLayer = new mars3d.layer.TilesetLayer({
         name: "雨花台模型",
         url: "https://testgis.4dage.com/yuhuatai1021-qp/tileset.json",
-        maximumMemoryUsage: 2048,
+        maximumMemoryUsage: 512,
         position: { alt: -290 },
         preloadFlightDestinations: true,
         flyTo: false,

+ 11 - 1
QJKK/src/framework/show/index.vue

@@ -71,7 +71,7 @@
     <RightInco ref="RightIncoRef" />
 
     <!-- 倾斜摄影 -->
-    <MapPage v-show="MapShow" @mapCutVr="mapCutVr" />
+    <MapPage v-if="MapShow" @mapCutVr="mapCutVr" />
 
     <!-- 左侧返回 -->
     <div class="backMap" @click="MapShow = true">
@@ -254,6 +254,16 @@ export default {
     },
   },
   watch: {
+
+    MapShow(val){
+      if(val) {
+        setTimeout(() => {
+          location.reload(true)
+        }, 100);
+      }
+    },
+
+
     currentHotspot: {
       deep: true,
       handler: function (newVal) {