Skip to content

Commit

Permalink
Merge pull request ElemeFE#3 from vv13/master
Browse files Browse the repository at this point in the history
datepicker鼠标移入显示清除
  • Loading branch information
gukong committed Jul 24, 2017
2 parents 75be578 + 94bca3c commit 636240a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/date-picker/src/picker.vue
Expand Up @@ -13,13 +13,13 @@
:value="displayValue"
@change.native="displayValue = $event.target.value"
:validateEvent="false"
@mouseenter.native="handleMouseEnterIcon"
@mouseleave.native="showClose = false"
ref="reference">
<i slot="icon"
class="el-input__icon"
@click="handleClickIcon"
:class="[showClose ? 'el-icon-close' : triggerClass]"
@mouseenter="handleMouseEnterIcon"
@mouseleave="showClose = false"
v-if="haveTrigger">
</i>
</el-input>
Expand Down

0 comments on commit 636240a

Please sign in to comment.