Update auto-complete.vue

#6161 bug fixed
This commit is contained in:
mo.duan 2019-09-04 11:12:44 +08:00
parent ff9617ff38
commit 6b34748e99

View file

@ -113,7 +113,8 @@
computed: { computed: {
inputIcon () { inputIcon () {
let icon = ''; let icon = '';
if (this.clearable && this.currentValue) { //#6161 #7
if (this.clearable && this.currentValue && !this.disabled) {
icon = 'ios-close'; icon = 'ios-close';
} else if (this.icon) { } else if (this.icon) {
icon = this.icon; icon = this.icon;