I'm currently facing an issue with my v-for loop, where I am passing two JSON objects but only the values from the first object are being displayed on the screen. My JSON data is stored locally in an external .json file and is not fetched through an API.
<b-card-body v-for="municipio in municipios.centro_oeste.rio_vermelho,municipios.centro_oeste.:key="index">
<b-card-text>{{ municipio.title }}</b-card-text>
</b-card-body>
Using (obj1,obj2) in v-for only shows obj1...
JSON:
{
"centro_oeste": {
"rio_vermelho": [
{"title": "Goiás"},
{"title": "Araguapaz"},
{"title": "Aruanã"},
{"title": "Britânia"},
{"title": "Faina"},
{"title": "Guaraita"},
{"title": "Heitoraí"},
{"title": "Itaberaí"},
{"title": "Itapirapuã"},
{ "title": "Itapuranga"},
{ "title": "Jussara"},
{ "title": "Matrinchã"},
{ "title": "Mossâmedes"},
{ "title": "Mozarlãndia"},
{ "title": "Nova Crixas"},
{ "title": "St° Fé de Goiás"}
],
"oeste_1": [
{"title": "Amorinópolis"},
{"title": "Aragarças"},
{"title": "Arenópolis"},
{"title": "Baliza" },
{"title": "Bom Jardim de Goiás"},
{"title"": "Diorama"},
{"title": "Fazenda Nova"},
{"title": "Iporá"},
{"title": "Israelândia"},
{ "title": "Ivolãndia"},
{ "title": "Jaupaci"},
{ "title": "Moiporá"},
{ "title""": Montes Claros de Goiás "},
{ "title""""Piranhas"}
]
}
obj1+obj doesn't work as well!
What should I do to concatenate these two objects?