0
postItem : [{
id: 1,
content: 'string',
date: '1 Jan 2014',
category: '1'
},
{
id: 2,
content: 'string2',
date: '14 Jan 2014',
category: '2'
}]
postItem [0] .content无法选择第一个数组的内容对象。难道我做错了什么?以json数据格式访问数组对象
'postItem'本身是一个属性,对不对? – undefined
它是一个对象,VAR数据= {postItem,别的东西} – user3189052
因此,它应该是'data.postItem [0] .content' – undefined