fix: hide clear icon when options is empty
parent
ad5dbdd6e4
commit
e32b9b27cd
|
@ -1137,7 +1137,7 @@ export default {
|
|||
return isEmpty(this.fluid) ? !!this.$pcFluid : this.fluid;
|
||||
},
|
||||
isClearIconVisible() {
|
||||
return this.showClear && this.d_value != null && isNotEmpty(this.options);
|
||||
return this.showClear && this.d_value && this.d_value.length && this.d_value != null && isNotEmpty(this.options);
|
||||
}
|
||||
},
|
||||
directives: {
|
||||
|
|
Loading…
Reference in New Issue