update Select

This commit is contained in:
梁灏 2018-12-18 11:17:25 +08:00
parent 1a97aa898d
commit ea3648b3c2
2 changed files with 62 additions and 40 deletions

View file

@ -761,7 +761,7 @@
},
slotOptions(options, old){
// #4626 Options label v-model
if (options && options.length && this.values.length) {
if (options && options.length && this.values.length && !this.multiple) {
this.values = this.values.map(value => {
const option = options.find(option => {
if (!option.componentOptions) return false;