From bd6f69baecfa4a98ceea05b47fa985e8025b8c0e Mon Sep 17 00:00:00 2001 From: hanyuxia Date: Thu, 23 May 2024 16:58:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CN-1660=20=E6=9F=A5=E8=AF=A2subscriber?= =?UTF-8?q?=E6=97=B6=E5=A2=9E=E5=8A=A0=E9=98=B2=E6=8A=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/location/Index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 // 计算悬浮框位置时默认的悬浮框高度