diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index 3ef4843a..b0070a70 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -203,7 +203,7 @@ function handleClearSearchHistory() { v-if=" isFocus && searchHistory.length !== 0 - && suggestions.length === 0 + && keyword.length === 0 " id="search-history" > @@ -218,13 +218,16 @@ function handleClearSearchHistory() {