fix crash on old version android (<= 9) (#183)

* fix crash on old version android (<= 9)
* fix listener select
This commit is contained in:
Sijie.Sun
2024-07-19 23:55:11 +08:00
committed by GitHub
parent 8858492fb4
commit fc9812dd54
2 changed files with 7 additions and 12 deletions

View File

@@ -102,6 +102,10 @@ const searchListenerSuggestiong = (e: { query: string }) => {
}
}
if (ret.length === 0) {
ret.push(e.query)
}
listenerSuggestions.value = ret
}