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