Commit 129d563a authored by wangxuelai's avatar wangxuelai

''

parent d9d5b3c6
......@@ -2191,20 +2191,25 @@ Page({
code,
data
} = res;
this.setData({
galleryLoading: false
})
// this.setData({
// galleryLoading: false
// })
if (code != 200) { // 失败的处理
} else {
if (that.data.galleryPage == 1 && data.total != undefined) {
that.data.galleryListTotal = data.total;
}
let clockRecordIds = data.list.map((ele) => {
return ele.id
}).join(',');
data.list.forEach((ele) => {
ele.content = JSON.parse(ele.content);
try {
ele.content = JSON.parse(ele.content);
} catch(e){
console.log(ele, 'ele');
}
const lastVideoIndex = ele.content.img.findIndex(ele => ele.type == 'video');
if (ele.works) {
try {
......
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