Skip to content

Commit

Permalink
fix(Select): 修复多选同时有placeholder时,出现两个提示语的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
btboys committed Dec 15, 2022
1 parent 0508b5a commit 49eadff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@keypress.enter="enterHandle"
/>
</div>
<div v-if="!hasValue && (!filterable || !filter)" class="h-select-placeholder">{{ placeholder }}</div>
<div v-if="placeholder && !hasValue && !(filterable || filter)" class="h-select-placeholder">{{ placeholder }}</div>
</template>
<template v-else>
<template v-if="filterable || filter">
Expand Down

0 comments on commit 49eadff

Please sign in to comment.