From 725201fe7dc72061c7a19c1ebb5f3c56f78da02e Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期二, 06 四月 2021 18:10:14 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/LayerController/LayerController.vue |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/src/components/LayerController/LayerController.vue b/src/components/LayerController/LayerController.vue
index 0d010eb..1c04000 100644
--- a/src/components/LayerController/LayerController.vue
+++ b/src/components/LayerController/LayerController.vue
@@ -11,7 +11,6 @@
 
 <script>
 import '@assets/css/map/magic.min.css'
-import presets from './layerControllerPresets'
 
 import iconSetting from '@/assets/images/map-pages/icon/setting.png'
 import LcServiceLayer from './modules/LcServiceLayer'
@@ -49,28 +48,9 @@
       }
     }
   },
-  mounted () {
-    this.$nextTick(function () {
-      this.init()
-    })
-  },
   methods: {
     showPanel () {
       this.layerControllerVisible = !this.layerControllerVisible
-    },
-    init () {
-      this.initPreset()
-    },
-    initPreset () {
-      if (this.preset !== 'default') {
-        const prmPreset = presets[this.preset]
-        Object.assign(this.layerControllerVisible, prmPreset) // 闃叉棰勮鍙傛暟涓庨粯璁ゅ弬鏁颁笉涓�鑷村鑷存姤閿欙紝濡傛灉娌℃湁鎸夌収鎮ㄧ殑閰嶇疆鍙戠敓鏀瑰彉锛岃妫�鏌ユ嫾鍐欐槸鍚︽纭�
-        if (prmPreset === 'undefined') {
-          console.log('璇ュ浘灞傛帶鍒堕潰鏉跨殑棰勮娌℃湁鎵惧埌锛岃妫�鏌ラ璁惧悕绉版槸鍚︽纭紒')
-        } else {
-          this.$store.commit('updateLayerControllerVisible', this.layerControllerVisible)
-        }
-      }
     },
     switchPanel () {
       this.panelSwitch.main = !this.panelSwitch.main

--
Gitblit v1.8.0