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 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/components/map/components/campusBuildingSearch.vue b/src/components/map/components/campusBuildingSearch.vue
index 77f09e6..0ec2e0f 100644
--- a/src/components/map/components/campusBuildingSearch.vue
+++ b/src/components/map/components/campusBuildingSearch.vue
@@ -151,7 +151,8 @@
this.$message({
message: '请输入关键字',
- type: 'warning'
+ type: 'warning',
+ duration: 1000
})
return
}
@@ -159,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
}
})
@@ -258,7 +261,7 @@
() => {
},
- 3
+ 0.5
)
},
--
Gitblit v1.9.3