fix select

This commit is contained in:
oyv1cent 2018-08-30 00:28:32 +08:00
parent 902a2cf595
commit b3279b71d9
2 changed files with 14 additions and 5 deletions

View file

@ -635,6 +635,9 @@
},
updateSlotOptions(){
this.slotOptions = this.$slots.default;
// #4372 issue, i find that this.query's value affects the judgment of the validateOption method.
this.query = '';
this.focusIndex = -1;
},
checkUpdateStatus() {
if (this.getInitialValue().length > 0 && this.selectOptions.length === 0) {