fix(design): input slot 出错

This commit is contained in:
roymondchen 2022-10-17 12:03:47 +08:00 committed by jia000
parent b965e66440
commit d2eaecfaab

View File

@ -6,7 +6,10 @@
@input="inputHandler"
@update:modelValue="updateModelValue"
>
<template #append v-if="$slots.prepend">
<template #prepend v-if="$slots.prepend">
<slot name="prepend"></slot>
</template>
<template #append v-if="$slots.append">
<slot name="append"></slot>
</template>
</component>