diff --git a/src/views/location/Index.vue b/src/views/location/Index.vue
index 2d21f236..9d767b98 100644
--- a/src/views/location/Index.vue
+++ b/src/views/location/Index.vue
@@ -81,7 +81,7 @@
:placeholder="$t('location.searchSubscriberTip')"
v-model="curSearchValue"
v-show="activeTab === 'locationMap'"
- @input="searchSubscribers">
+ @input="debounceSearch">
@@ -1666,6 +1666,7 @@ export default {
this.debounceMinuteChange = _.debounce(this.minuteTimeFilterChange, 500)
this.debounceOnResize = _.debounce(this.onResize, 500)
this.debounceVisualChange = _.debounce(this.hexagonVisualRangeChange, 500)
+ this.debounceSearch = _.debounce(this.searchSubscribers, 500)
this.onResize()
},
setup () {
@@ -1802,6 +1803,7 @@ export default {
debounceMinuteChange: shallowRef(null),
debounceOnResize: shallowRef(null),
debounceVisualChange: shallowRef(null),
+ debounceSearch: shallowRef(null),
mapLevelField,
mapDomHeight, // 地图dom的高度,用来计算悬浮框的位置
tooltipDomHeight // 计算悬浮框位置时默认的悬浮框高度