From ae2fc3a474e43a7e3ff60f427061bfe27b51abb7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 17 Mar 2022 17:33:34 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web

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

diff --git a/src/components/mobileCortrol/index.vue b/src/components/mobileCortrol/index.vue
index 6f80b12..37522cb 100644
--- a/src/components/mobileCortrol/index.vue
+++ b/src/components/mobileCortrol/index.vue
@@ -1,15 +1,12 @@
 <template>
   <div class="m-left-control">
-    <!-- <div class="m-l-inbut zoom-in" @click="zoomIn()">
-            <i class="el-icon-refresh"></i>
-        </div> -->
-    <!-- <div
+    <div
       class="m-l-inbut zoom-in m-l-inbut-2d"
       :class="{ active: dimension == '3D' }"
       @click="zoomIn('3D')"
     >
       3&nbsp;&nbsp;维
-        </div>-->
+    </div>
     <div
       class="m-l-inbut zoom-in m-l-inbut-3d"
       :class="{ active: dimension == '2.5D' }"
@@ -28,28 +25,17 @@
     return {};
   },
   computed: {
-    ...mapGetters(["startPointFn", "dimension"]),
+    ...mapGetters(["dimension"]),
   },
   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