miniprogram/pages/user/pubulicty/index.ts
@@ -4,6 +4,7 @@ Page({ data: { swcurrent: 0, causeList: [], isShow: false }, @@ -15,7 +16,13 @@ method: "GET", header: { 'token': wx.getStorageSync('token') }, success: (res) => { console.log(res) res.data.data.map(i => { if (i.photoStr != null) { i.photoStr = i.photoStr.split(",").map(i => userCause.globalData.imageUrl + "/img/" + i), this.data.images = i.photoStr } }) this.setData({ causeList: res.data.data })