fixed Date bug
This commit is contained in:
parent
9c83f0e534
commit
f1f0206c70
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
|
<Date-picker type="daterange" placeholder="选择日期" disabled style="width: 200px"></Date-picker>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -362,7 +362,7 @@
|
||||||
handleIconClick () {
|
handleIconClick () {
|
||||||
if (this.showClose) {
|
if (this.showClose) {
|
||||||
this.handleClear();
|
this.handleClear();
|
||||||
} else {
|
} else if (!this.disabled) {
|
||||||
this.handleFocus();
|
this.handleFocus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue