From 81f54040c2cb65537c6c6e1db8358a39a57dea0d Mon Sep 17 00:00:00 2001
From: mayisheng <admin>
Date: Mon, 15 Aug 2022 16:14:01 +0800
Subject: [PATCH] 1

---
 src/components/mobileCortrol/index.vue |   26 ++++++--------------------
 1 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/src/components/mobileCortrol/index.vue b/src/components/mobileCortrol/index.vue
index 765eb33..739a49e 100644
--- a/src/components/mobileCortrol/index.vue
+++ b/src/components/mobileCortrol/index.vue
@@ -1,8 +1,8 @@
 <template>
     <div class="m-left-control">
-        <div class="m-l-inbut zoom-in" @click="zoomIn()">
-            <i class="el-icon-refresh"></i>
-        </div>
+        <!-- 3d切换
+mobileCortrol
+        -->
         <!-- <div
       class="m-l-inbut zoom-in m-l-inbut-2d"
       :class="{ active: dimension == '3D' }"
@@ -23,33 +23,19 @@
 export default {
     name: 'mobileCortrol',
     data () {
-        return {
-        }
+        return {}
     },
     computed: {
-        ...mapGetters(['mviewer', 'startPointFn', 'dimension'])
+        ...mapGetters(['dimension'])
     },
-    created () {
-    },
+    created () { },
     methods: {
         zoomIn (val) {
-            // this.$store.dispatch("mapFlyTo", {
-            //   //飞入
-            //   lntLat: [115.87988885, 28.72502592, 2100],
-            //   // lntLat: [115.87186406, 28.74449337, 1200],
-            //   // lntLat: [121.50492752204283, 31.21567802276832, 2530],
-            //   heading: 0,
-            //   pitch: -45,
-            //   roll: 0,
-            //   noOpen: true,
-            // });
             if (val) {
                 if (this.dimension != val) {
                     this.$store.dispatch('MSET_DIMENSIONS', val)
                 }
-                return
             }
-            this.startPointFn()
         }
     }
 }

--
Gitblit v1.9.3