版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yechaoa/article/details/82155518
wxml 遍历用 wx:for
js:
for (var index in res.data) {
title : res.data[index].title
}
res.data是数组,index是下标
wxml 遍历用 wx:for
for (var index in res.data) {
title : res.data[index].title
}
res.data是数组,index是下标