调用wx.chooseImage上传图片,得到图片的临时路径tempFilePaths,在wxml里用wx:for{{tempFilePaths}}循环渲染出错:
VM3555:2 Failed to load image http://127.0.0.1:56229/tmp/wx210839d33ea2e4dc.o6zAJsx84ds_sH7gAD8snTwFfKM4.T7EOmGiw0vQwf47e1ac77ff73e3a8645548df7bb6d04.jpg,http://tmp/wx210839d33ea2e4dc.o6zAJsx84ds_sH7gAD8snTwFfKM4.dfWxZuh7SAVVd0ad6771913fd2ca2ad04433b46f2d26.jpg
the server responded with a status of 404 (HTTP/1.1 404 Not Found)
From server 127.0.0.1
可否给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题