From bf58722dfd03ea1513f3acc7331d4d4403fca76e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 18 Mar 2022 11:48:37 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web

---
 src/components/mobileCloseRouter/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/mobileCloseRouter/index.vue b/src/components/mobileCloseRouter/index.vue
index c035152..8efd9d1 100644
--- a/src/components/mobileCloseRouter/index.vue
+++ b/src/components/mobileCloseRouter/index.vue
@@ -54,13 +54,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 +92,7 @@
 .mobileCloseRouterOpen {
   position: fixed;
   // width: 127px;
-  width: 80px;
+  width: 50px;
   height: 32px;
   background-color: #fff;
   z-index: 600;
@@ -114,6 +115,7 @@
   opacity: 1;
 }
 .mobileCloseActiveOpen {
+  width: 80px;
   border: 1px solid #409eff;
   background-color: #409eff;
   color: #fff;

--
Gitblit v1.9.3