aboutsummaryrefslogtreecommitdiff
path: root/src/components/SearchBar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/SearchBar.vue')
-rw-r--r--src/components/SearchBar.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue
index 78d6fd7..e69d817 100644
--- a/src/components/SearchBar.vue
+++ b/src/components/SearchBar.vue
@@ -81,7 +81,7 @@ function onFocus() {
<n-auto-complete
v-model:value="queryString"
:options="options"
- :on-select="(value) => onSelect(String(value))"
+ :on-select="(value: string | number) => onSelect(String(value))"
:render-label="renderOption"
:default-value="'aa'"
:get-show="() => displayDropDown"