Input: the click event of clear button is not trigger when using v-loading (#16576)

pull/17049/head
Cr 2019-08-15 17:22:09 +08:00 committed by Geass
parent 27398103c4
commit 91297a9761
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@
</template> </template>
<i v-if="showClear" <i v-if="showClear"
class="el-input__icon el-icon-circle-close el-input__clear" class="el-input__icon el-icon-circle-close el-input__clear"
@mousedown.prevent
@click="clear" @click="clear"
></i> ></i>
<i v-if="showPwdVisible" <i v-if="showPwdVisible"