能给我一个例子,如何使用v-select从API获取数据吗?
<v-select
:debounce="250"
:on-search="getOptions"
v-validate="'required'"
:data-vv-as="$t('checkout.title')"
:key="`title-${index + 1}`"
:id="`title-${index + 1}`"
:name="`title-${index + 1}`"
:class="{ 'is-danger': errors.has(`title-${index + 1}`) }"
:options="">
</v-select>
谢谢