fix(design): Autocomplete default slot 名称拼写错误

Co-authored-by: Steven <admin@qiangmou.ren>
This commit is contained in:
Steven Qiang 2024-03-07 15:17:36 +08:00 committed by GitHub
parent 032f7c03e0
commit 94a6004608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,8 +8,8 @@
@select="selectHandler" @select="selectHandler"
@update:modelValue="updateModelValue" @update:modelValue="updateModelValue"
> >
<template #defalut="{ item }" v-if="$slots.defalut"> <template #default="{ item }" v-if="$slots.default">
<slot name="defalut" :item="item"></slot> <slot name="default" :item="item"></slot>
</template> </template>
<template #prepend v-if="$slots.prepend"> <template #prepend v-if="$slots.prepend">
<slot name="prepend"></slot> <slot name="prepend"></slot>