Cosmetics
parent
d60c2d15e8
commit
5309386739
|
@ -828,7 +828,7 @@ export default {
|
||||||
|
|
||||||
if (this.optionGroupLabel) {
|
if (this.optionGroupLabel) {
|
||||||
options = options.reduce((result, option, index) => {
|
options = options.reduce((result, option, index) => {
|
||||||
result.push({ optionGroup: option, group: true, groupIndex: index });
|
result.push({ optionGroup: option, group: true, index });
|
||||||
|
|
||||||
let optionGroupChildren = this.getOptionGroupChildren(option);
|
let optionGroupChildren = this.getOptionGroupChildren(option);
|
||||||
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
||||||
|
|
|
@ -813,7 +813,7 @@ export default {
|
||||||
|
|
||||||
if (this.optionGroupLabel) {
|
if (this.optionGroupLabel) {
|
||||||
options = options.reduce((result, option, index) => {
|
options = options.reduce((result, option, index) => {
|
||||||
result.push({ optionGroup: option, group: true, groupIndex: index });
|
result.push({ optionGroup: option, group: true, index });
|
||||||
|
|
||||||
let optionGroupChildren = this.getOptionGroupChildren(option);
|
let optionGroupChildren = this.getOptionGroupChildren(option);
|
||||||
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
||||||
|
|
|
@ -641,7 +641,7 @@ export default {
|
||||||
|
|
||||||
if (this.optionGroupLabel) {
|
if (this.optionGroupLabel) {
|
||||||
options = options.reduce((result, option, index) => {
|
options = options.reduce((result, option, index) => {
|
||||||
result.push({ optionGroup: option, group: true, groupIndex: index });
|
result.push({ optionGroup: option, group: true, index });
|
||||||
|
|
||||||
let optionGroupChildren = this.getOptionGroupChildren(option);
|
let optionGroupChildren = this.getOptionGroupChildren(option);
|
||||||
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
||||||
|
|
|
@ -943,7 +943,7 @@ export default {
|
||||||
|
|
||||||
if (this.optionGroupLabel) {
|
if (this.optionGroupLabel) {
|
||||||
options = options.reduce((result, option, index) => {
|
options = options.reduce((result, option, index) => {
|
||||||
result.push({ optionGroup: option, group: true, groupIndex: index });
|
result.push({ optionGroup: option, group: true, index });
|
||||||
|
|
||||||
let optionGroupChildren = this.getOptionGroupChildren(option);
|
let optionGroupChildren = this.getOptionGroupChildren(option);
|
||||||
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));
|
||||||
|
|
Loading…
Reference in New Issue