Browse Source

showLayer

qinhouyu 1 năm trước cách đây
mục cha
commit
5d09e2b7d9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: {
       //初始化地图数据