whao 2 سال پیش
والد
کامیت
5c3c472ff8
1فایلهای تغییر یافته به همراه17 افزوده شده و 17 حذف شده
  1. 17 17
      src/views/forest.vue

+ 17 - 17
src/views/forest.vue

@@ -711,23 +711,23 @@
       /** ----------------------------------weosocket结束------------------------------------- */
 
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
-      showDialog(click) {
-        if (click == "eventLocation") {
-          this.$refs.eventLocation.showEventLocation()
-        } else if (click == "editableLayers") {
-          if (!this.$refs.supermap.isEditableLayers) {
-            this.$refs.supermap.isEditableLayers = true
-          } else {
-            this.$refs.supermap.isEditableLayers = false
-          }
-        } else if (click == "layerSwitching") {
-          if (!this.$refs.bottomMenu.showChild) {
-            this.$refs.bottomMenu.showChild = true
-          } else {
-              this.$refs.bottomMenu.showChild = false
-          }
-        }
-      },
+     showDialog(click) {
+       if (click == "eventLocation") {
+         this.$refs.eventLocation.showEventLocation()
+       } else if (click == "editableLayers") {
+         if (!this.$refs.supermap.isEditableLayers) {
+           this.$refs.supermap.isEditableLayers = true
+         } else {
+           this.$refs.supermap.isEditableLayers = false
+         }
+       } else if (click == "layerSwitching") {
+         if (!this.$refs.bottomMenu.showChild) {
+           this.$refs.bottomMenu.showChild = true
+         } else {
+           this.$refs.bottomMenu.showChild = false
+         }
+       }
+     },
       //选择图层
       choseLayerSwitching(url) {
         this.$refs.supermap.layerSwitching(url, true);