qinhouyu %!s(int64=2) %!d(string=hai) anos
pai
achega
8f8a38e835
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/components/supermap-2.5d.vue

+ 3 - 3
src/components/supermap-2.5d.vue

@@ -70,7 +70,7 @@
           mapData: null,
           mapName: null
         },
-        showLayer: null,
+        showLayer: true,
         clickTime: new Date().getTime(),
         cacheData: {
           ProvinceRoad: "",
@@ -210,7 +210,7 @@
       this.showLayer = this.showLayer != undefined ? this.showLayer : false;
     },
     props: {
-      showLayer: [Boolean],
+      // showLayer: [Boolean],
     },
     methods: {
       //初始化地图数据
@@ -1032,4 +1032,4 @@
     opacity: 0;
     transform: translateY(-10rem);
   }
-</style>
+</style>