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/mobileCloseRouter/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/components/mobileCloseRouter/index.vue b/src/components/mobileCloseRouter/index.vue
index c035152..2e47070 100644
--- a/src/components/mobileCloseRouter/index.vue
+++ b/src/components/mobileCloseRouter/index.vue
@@ -1,5 +1,8 @@
 <template>
   <!-- v-show="isOpenDrawALine" -->
+  <!-- 退出导航,右边按钮
+mobileCloseRouter
+ -->
   <div class="routers">
     <div
       :class="['mobileCloseRouter', isOpenDrawALine ? 'mobileCloseActive' : '']"
@@ -54,13 +57,14 @@
   methods: {
     mobileRouterClose() {
       this.$store.commit("removePolyline");
+      this.$store.commit("removerPolyLineIcon");
     },
     mobileRouterCloseOpen(Str, index) {
       if (this.choiceRouterS == index) {
         return;
       }
       this.$store.commit("set_choiceRouterS", index);
-      this.$store.dispatch("MSET_DRAWALINELAYER", Str);
+      this.$store.dispatch("MSET_DRAWALINELAYER", [Str]);
     },
   },
 };
@@ -91,7 +95,7 @@
 .mobileCloseRouterOpen {
   position: fixed;
   // width: 127px;
-  width: 80px;
+  width: 50px;
   height: 32px;
   background-color: #fff;
   z-index: 600;
@@ -114,6 +118,7 @@
   opacity: 1;
 }
 .mobileCloseActiveOpen {
+  width: 80px;
   border: 1px solid #409eff;
   background-color: #409eff;
   color: #fff;

--
Gitblit v1.9.3