有没有大佬说一下object的数据怎么取出来啊?console.log(res.dat)之后呢

小程序 文章 2021-04-08 16:42 345 0 全屏看文

AI助手支持GPT4.0

有没有大佬说一下object的数据怎么取出来啊?console.log(res.dat)之后呢Do you have a big talk about how to get the object data? after console.log(res.dat)

有没有大佬说一下object的数据怎么取出来啊?console.log(res.dat)之后呢

回答:

ᝰꫛꫀꪝ .:

你的第一层是arr 如果只要第一个数据,就是 res.data[0]

李帅:我都想要呀,要搜索数据,能整合到一起吗
ᝰꫛꫀꪝ .:你直接存储res.data的数据
在wxml里进行wx:for 循环
https://developers.weixin.qq.com/miniprogram/deveference/wxml/list.html
请认真阅读循环语法
ᥴꪮꪮꪶ .:

参考: this.shiyan[0]._id

😮😮:

打印出来是什么截图看下

李帅:
😮😮:你需要的是asdf里面的所有数据吗?

-EOF-

AI助手支持GPT4.0