在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
if (res.data.result == "01") {
var length = res.data.list.length;
that.setData({
length: length
})
if (currentPage == "1") {
for (var i = 0; i < length; i++) {
res.data.list[i].face = appImg + res.data.list[i].face;
}
that.setData({
list: res.data.list
})
} else {
if (length == "0") {
return
}
var Member = res.data.list;
var arr = that.data.list;
for (var i = 0; i < length; i++) {
Member[i].face = appImg + Member[i].face;
arr.push(Member[i]);
}
that.setData({
list: arr,
})
}
} else {
getApp().msgShow(that, res.data.msg);
}
|
请发表评论