Refactor #2168
parent
3aa762bfee
commit
bd7e46f66d
|
@ -560,14 +560,11 @@ export default {
|
||||||
else if (this.visibleOptions) {
|
else if (this.visibleOptions) {
|
||||||
if (this.optionGroupLabel) {
|
if (this.optionGroupLabel) {
|
||||||
value = [];
|
value = [];
|
||||||
if (this.optionGroupLabel) {
|
this.visibleOptions.forEach(optionGroup => {
|
||||||
value = [];
|
for (let option of this.getOptionGroupChildren(optionGroup)) {
|
||||||
this.visibleOptions.forEach(optionGroup => {
|
value.push(this.getOptionValue(option));
|
||||||
for (let option of this.getOptionGroupChildren(optionGroup)) {
|
}
|
||||||
value.push(this.getOptionValue(option));
|
});
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
value = this.visibleOptions.map(option => this.getOptionValue(option));
|
value = this.visibleOptions.map(option => this.getOptionValue(option));
|
||||||
|
|
Loading…
Reference in New Issue