求大神指点,数组怎么取值?

发布于 6 年前作者 tianchao10247 次浏览最后编辑 6 年前来自 ask

有问题呀,第一次错误,在一次就获取数据了,只是延迟问题吗?

console.log(“print”, that.data.prList[0].product_name)

5 回复
sxu
sxu1 楼6 年前

that.data.prlist[0].product_name

weidong
weidong2 楼6 年前

that OR that.data ?

guiyingsong
guiyingsong3 楼6 年前

this.data.prList[0].product_name

guiying91
guiying914 楼6 年前

谢邀

同步异步问题

weiqiu
weiqiu5 楼5 年前

prlist[1][0]

console.log it