qinhouyu пре 1 година
родитељ
комит
5d09e2b7d9
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/components/supermap-2.5d.vue

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

@@ -73,7 +73,7 @@
           mapData: null,
           mapName: null
         },
-        showLayer:null,
+        showLayer:true,
         clickTime: new Date().getTime(),
         cacheData: {
           ProvinceRoad: "",
@@ -215,7 +215,7 @@
       this.showLayer = this.showLayer != undefined ? this.showLayer:false;
     },
     props: {
-      showLayer: [Boolean],
+      // showLayer: [Boolean],
     },
     methods: {
       //初始化地图数据