mirror of https://github.com/ElemeFE/element
parent
2f6750964e
commit
066eaf123e
|
@ -328,12 +328,14 @@ export default {
|
|||
|
||||
methods: {
|
||||
handleMouseEnterIcon() {
|
||||
if (this.readonly || this.disabled) return;
|
||||
if (!this.valueIsEmpty) {
|
||||
this.showClose = true;
|
||||
}
|
||||
},
|
||||
|
||||
handleClickIcon() {
|
||||
if (this.readonly || this.disabled) return;
|
||||
if (this.valueIsEmpty) {
|
||||
this.pickerVisible = !this.pickerVisible;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue