This commit is contained in:
梁灏 2018-12-26 10:42:49 +08:00
parent 9051ca49d6
commit abb82debb8

View file

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