From f5f1643fcaff9da10301346c544568ce4f912502 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 17 Mar 2023 10:53:27 +0800
Subject: [PATCH] 大搜展示问题
---
src/views/activity/components/mapSearchBox.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/activity/components/mapSearchBox.vue b/src/views/activity/components/mapSearchBox.vue
index fceae80..6286626 100644
--- a/src/views/activity/components/mapSearchBox.vue
+++ b/src/views/activity/components/mapSearchBox.vue
@@ -75,7 +75,9 @@
} else {
this.searchExtensivelyValBoxShow = true
this.isShowClearBtn = true
- this.getSearchExtensively('ebf48ecaa1fd436fa3d40c4600aa051f', '361100', this.searchExtensivelyValue)
+ this.$nextTick(()=>{
+ this.getSearchExtensively('ebf48ecaa1fd436fa3d40c4600aa051f', '361100', this.searchExtensivelyValue)
+ })
}
this.$EventBus.$emit('mapClearLayer', {
layerName: 'searchLayer',
@@ -92,7 +94,6 @@
getSearchExtensively (ak, region, query) {
getSearchExtensively(ak, region, query).then(res => {
this.searchExtensivelyArray = res.data.result
- console.log(res.data.result,11111);
})
},
--
Gitblit v1.9.3