我有这个嵌套对象:
Error The name "DialogCloser" does not exist in the namespace "clr-namespace:MOABIMTools.Views".
我试图让它看起来像这样:
"State Names": {
"State Cities": {
"Los Angeles": {
"about": "story",
"zip": "91721"
},
}
}
我试过下面的代码:
state: {
city: [
"name": "Los Angeles",
"about": "story",
"zip": "91721"
]
}
但是我的结果没有显示城市名称,只显示了约和拉链。如何在map函数中将对象键名称作为属性包含在数组中?