瀏覽代碼

fix:滚动目录分页时搜索栏弹出

chenlei 1 周之前
父節點
當前提交
2d0d8490be
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/etaChart/components/ClassifyWrap.vue

+ 1 - 1
src/views/etaChart/components/ClassifyWrap.vue

@@ -25,13 +25,13 @@ const showSearchResults = ref(false)
 function handleSearchChart(keyword) {
   if (keyword === '' || keyword === null) return
   finished = false
+  showSuggestions.value = true
   searchPage.value = 1
   searchOpts.value = []
   handleGetSearchChartList(keyword)
 }
 async function handleGetSearchChartList(keyword) {
   searchLoading.value = true
-  showSuggestions.value = true
   const res = await apiETAChart.chartSearch({
     PageSize: searchPageSize,
     CurrentIndex: searchPage.value,