Skip to content

Commit

Permalink
fix(design): Autocomplete default slot 名称拼写错误
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <[email protected]>
  • Loading branch information
Steven-Qiang and Steven authored Mar 7, 2024
1 parent 032f7c0 commit 94a6004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/design/src/Autocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
@select="selectHandler"
@update:modelValue="updateModelValue"
>
<template #defalut="{ item }" v-if="$slots.defalut">
<slot name="defalut" :item="item"></slot>
<template #default="{ item }" v-if="$slots.default">
<slot name="default" :item="item"></slot>
</template>
<template #prepend v-if="$slots.prepend">
<slot name="prepend"></slot>
Expand Down

0 comments on commit 94a6004

Please sign in to comment.