From 796b58deeae0f9df16ca5d9a9c826026afbdb2d6 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 17 Jan 2022 17:32:10 +0800
Subject: [PATCH] +

---
 src/components/mobileWindow/index.vue |    9 ++++++---
 src/store/modules/mobile.js           |   14 ++++++++++++--
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/components/mobileWindow/index.vue b/src/components/mobileWindow/index.vue
index 538516c..0507adf 100644
--- a/src/components/mobileWindow/index.vue
+++ b/src/components/mobileWindow/index.vue
@@ -106,6 +106,7 @@
       //   this.fullscreenLoading = true;
       if (!this.MobileWindowsHide) {
         this.video = ""; //清除视频
+        this.seebut = []; //清除按钮
         let queryData = this.query.query;
         console.log(queryData, 789);
         this.title = queryData.name;
@@ -126,9 +127,11 @@
               this.seebut.splice(k, k + 1);
             }
           }
-          this.seebut.push({
-            name: "去这",
-          });
+          if (queryData.notAddGoOn != "notAddGoOn") {
+            this.seebut.push({
+              name: "去这",
+            });
+          }
         } else {
           this.seebut = [
             {
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index 7757168..117f84b 100644
--- a/src/store/modules/mobile.js
+++ b/src/store/modules/mobile.js
@@ -778,7 +778,12 @@
           let windowData = {
             position,
             lntLat,
-            query: { ...(value[1] || {}), position, lntLat },
+            query: {
+              ...(value[1] || {}),
+              position,
+              lntLat,
+              notAddGoOn: "notAddGoOn",
+            },
             useJWD: true, //仅使用经纬度
           };
           dispatch("setMobileWindows", windowData);
@@ -864,7 +869,12 @@
           let windowData = {
             position,
             lntLat,
-            query: { ...(value[2] || {}), position, lntLat },
+            query: {
+              ...(value[2] || {}),
+              position,
+              lntLat,
+              notAddGoOn: "notAddGoOn",
+            },
             useJWD: true, //仅使用经纬度
           };
           dispatch("setMobileWindows", windowData);

--
Gitblit v1.9.3