|
@@ -1141,12 +1141,12 @@ Se puede hacer una carga dinamica de elementos hijos cuando se hace clic en el e
|
|
|
handleItemChange(val) {
|
|
|
console.log('active item:', val);
|
|
|
setTimeout(_ => {
|
|
|
- if (val.indexOf('California') > -1 && !this.options2[0].cities.length) {
|
|
|
- this.options2[0].cities = [{
|
|
|
+ if (val.indexOf('California') > -1 && !this.options[0].cities.length) {
|
|
|
+ this.options[0].cities = [{
|
|
|
label: 'Los Angeles'
|
|
|
}];
|
|
|
- } else if (val.indexOf('Florida') > -1 && !this.options2[1].cities.length) {
|
|
|
- this.options2[1].cities = [{
|
|
|
+ } else if (val.indexOf('Florida') > -1 && !this.options[1].cities.length) {
|
|
|
+ this.options[1].cities = [{
|
|
|
label: 'Orlando'
|
|
|
}];
|
|
|
}
|