小程序 如何获取从后台接收到的json中的某个值

看代码

1 success(res){
2     console.log(res.data);
3     console.log(res.data['0']);
4     console.log(res.data['0']['id']); 
5 }

显示的效果

2019-07-24 11:15:21

原文地址:https://www.cnblogs.com/lll-freshman/p/11236778.html