From ee16b656bff2ba6f8b78d68915b7b0c624fa5643 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 15 Feb 2023 10:05:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs

---
 src/components/map/components/mapPopup.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/components/map/components/mapPopup.vue b/src/components/map/components/mapPopup.vue
index aa63c3b..0df1177 100644
--- a/src/components/map/components/mapPopup.vue
+++ b/src/components/map/components/mapPopup.vue
@@ -20,7 +20,7 @@
                                     </div>
                                     <div class="close" @click="closePopup" title="关闭"></div>
                                 </div>
-                                <div class="change-btn" v-show="showBtn">
+                                <div class="change-btn" v-show="detailsPopup.showBtn">
                                     <div
                                         @click="currentBtn = '接警信息'"
                                         :class="{ on: currentBtn == '接警信息' }"
@@ -153,6 +153,16 @@
         ])
     },
 
+    watch: {
+        detailsPopup: {
+            handler (newData, oldData) {
+                if (newData.showBox == false) {
+                    this.currentBtn = '接警信息'
+                }
+            }
+        }
+    },
+
     mounted () {
 
         if (this.getWidth() > 7000) {

--
Gitblit v1.9.3