From e7c6c4eecddae9515b0cd1be68335690843df3d1 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 02 Mar 2022 15:19:23 +0800
Subject: [PATCH] +自定义标签的添加和删除

---
 src/components/map/components/campusBuildingSearch.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/components/map/components/campusBuildingSearch.vue b/src/components/map/components/campusBuildingSearch.vue
index 2868f35..0ec2e0f 100644
--- a/src/components/map/components/campusBuildingSearch.vue
+++ b/src/components/map/components/campusBuildingSearch.vue
@@ -160,6 +160,8 @@
                 if (res.data.data.length > 0) {
                     this.$store.commit('SET_SEARCHPOPUPFLAG', true)
                     this.$store.commit('SET_SEARCHPOPUPLIST', res.data.data)
+                    this.searchInput = ''
+                    this.searchValList = []
                     this.searchValShow = false
                 }
             })
@@ -259,7 +261,7 @@
                 () => {
 
                 },
-                3
+                0.5
             )
         },
 

--
Gitblit v1.9.3