Vue v-for traversal value

var arr = [{key1:{obj1:{value1:1,value2:2}}},{key2:{obj2:{value3:1,value4:2}}}];

how can I get the value of key1.obj1.value1 in v-for?
I have tried
{{item.obj1.value1}} in the v-for (item in arr), html code, and the error obj1 is undefined

.
Mar.09,2021

{{item.key.obj1.value1}}

deal with
if it is the data coming from the backend, it is best to judge whether the current item exists

.

you know the cause of the problem without writing code!

v-for   
{ "key1": { "obj1": { "value1": 1, "value2": 2 } } }
{ "key2": { "obj2": { "value3": 1, "value4": 2 } } }
 item.key1.obj1.value1     key1  
 v-for  
 

item.key1? Item.key1.obj1.value1: item.key2.obj2.value3

Menu