Skip to content

Commit

Permalink
fix(search): [search] 修复search禁用态可以删除的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxi-20 committed Oct 26, 2024
1 parent bb303d5 commit 9d05645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/search/src/pc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
:tabindex="tabindex"
/>
<transition name="tiny-transition-icon-scale-in">
<div class="tiny-search__input-btn tiny-icon-close" v-if="state.showClear && !state.collapse">
<div class="tiny-search__input-btn tiny-icon-close" v-if="state.showClear && !state.collapse && !disabled">
<a @click="clear($event)">
<icon-close @mousedown.prevent class="tiny-svg-size" />
</a>
Expand Down

0 comments on commit 9d05645

Please sign in to comment.