|
@@ -55,7 +55,8 @@ export default {
|
|
|
resolve()
|
|
|
if (this.cutoff(res.msg)) return;
|
|
|
res.data = res.data.map(v => {
|
|
|
- v.cover = v.attinfos.length ? this.getSpecifiedImage(v.attinfos.find(s => v.usetype == "avatar")) : uni.getStorageSync("site").logo || '';
|
|
|
+ console.log("avatar", v.attinfos.find(s => s.usetype == "avatar"))
|
|
|
+ v.cover = v.attinfos.length ? this.getSpecifiedImage(v.attinfos.find(s => s.usetype == "avatar")) : (uni.getStorageSync("site").logo || '');
|
|
|
return v
|
|
|
});
|
|
|
this.list = res.pageNumber == 1 ? res.data : this.list.concat(res.data);
|