qinhouyu hace 2 años
padre
commit
8f8a38e835
Se han modificado 1 ficheros con 3 adiciones y 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>