From 388af588a78a6a697a3bbc4154329460be6689c7 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 17 Dec 2021 08:57:41 +0800
Subject: [PATCH] +弹窗退出时候不更新数据
---
src/components/mobileWindow/index.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/components/mobileWindow/index.vue b/src/components/mobileWindow/index.vue
index d3ff556..acfc058 100644
--- a/src/components/mobileWindow/index.vue
+++ b/src/components/mobileWindow/index.vue
@@ -39,10 +39,12 @@
watch: {
MobileWindowsHide() {
// this.fullscreenLoading = true;
- setTimeout(() => {
- // this.fullscreenLoading = false;
- console.log("地图点击弹窗数据请求参数", this.query);
- }, 500);
+ if (this.MobileWindowsHide) {
+ setTimeout(() => {
+ // this.fullscreenLoading = false;
+ console.log("地图点击弹窗数据请求参数", this.query);
+ }, 500);
+ }
},
},
data() {
--
Gitblit v1.9.3