Commit 173cd50b by 李静静

图片排序倒序

parent 74940ffe
......@@ -20,7 +20,7 @@ Page({
if(res.data&&res.data.code===0){
// console.log(res.data.data.list)
this.setData({
picture_list:res.data.data,
picture_list:Array.isArray(res.data.data)?res.data.data.reverse():[],
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment