編譯時沒有報錯但是取得的圖片都是白的
getImg:function(){wx.cloud.callFunction({name:"login"}).then(res=>{db.collection("imageSet").where({_openid:res.result._openid}).get().then(res2=>{console.log(res2);this.setData({images:?res2.data});})})}
<block?wx:for="{{images}}"?wx:key="{{index}}"><image?src="{{item.fildID}}"></image></block>
上面是取得圖片和顯示圖片的代碼但是顯示圖片全白
2019-09-12
請檢查image的src屬性是什么值。