Skip to content

Commit 91297a9

Browse files
a631807682nullptru
authored andcommitted
Input: the click event of clear button is not trigger when using v-loading (ElemeFE#16576)
1 parent 2739810 commit 91297a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/input/src/input.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
</template>
6262
<i v-if="showClear"
6363
class="el-input__icon el-icon-circle-close el-input__clear"
64+
@mousedown.prevent
6465
@click="clear"
6566
></i>
6667
<i v-if="showPwdVisible"

0 commit comments

Comments
 (0)