fix(ts): cleaned legacy typechecking warning

This commit is contained in:
Corentin Thomasset 2023-04-23 16:12:11 +02:00 committed by Corentin THOMASSET
parent 362f2fa280
commit e88c1d5f2c
7 changed files with 20 additions and 17 deletions

View file

@ -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"