fixed Date bug

This commit is contained in:
Aresn 2017-06-07 10:49:15 +08:00
parent 9c83f0e534
commit f1f0206c70
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<template>
<Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
<Date-picker type="daterange" placeholder="选择日期" disabled style="width: 200px"></Date-picker>
</template>
<script>
export default {

View file

@ -362,7 +362,7 @@
handleIconClick () {
if (this.showClose) {
this.handleClear();
} else {
} else if (!this.disabled) {
this.handleFocus();
}
},