Lieutenant WeChat Mini Programs push the data to the array, and the array renders the picture. It's a mistake. I've been doing it all day. Is there a boss?

Lieutenant WeChat Mini Programs push the data to the array, and the array renders the picture. It has been a mistake all day. Is there a boss?
before adding

clipboard.png
clipboard.png

clipboard.png
clipboard.png

is there a big shot?
wxml:
< scroll-view class= "" scroll-x style= "width: 580rpx switch heightside 160rpx float leftswitch overflowed;" >

Whitehouse spaceShowrapp; ">

[WT5HZ] [WT5HZ]
<!--  -->
<image style="width:160rpx;height:160rpx;margin-left:10rpxl;float:right" catchtap="changeImage" src="{{i}}" wx:for="{{pictures}}" wx:for-item="i" wx:for-index="j" data-index="{{j}}"></image>
<!--  -->
<image style="width:160rpx;height:160rpx;margin-left:10rpx;float:right;display:{{isShow?"inline-block":"none"}}" src="/image/icon/u1205.png" catchtap="addImage"></image> 

< / scroll-view >

< image style="width:160rpx;height:160rpx;margin-left:10rpx" class="shopPic" src="/image/icon/d001.png" > < / image >

js
data: {

pictures: ["/image/icon/u1221.png", "/image/icon/u185.png"]

},
/ / add pictures
addImage:function () {

var _that = this
wx.chooseImage({
  count:1,
  sizeType: ["original", "compressed"],
  sourceType: ["album", "camera"],
  success: function(res) {
    var tempFilePaths = _that.data.pictures.push(res.tempFilePaths[0])
    _that.setData({
      pictures: tempFilePaths
    })
  },
})

},
error content
VM12431:2 Failed to load local image resource / pages/config-window/2
the server responded with a status of 404 (HTTP/1.1 404 Not Found)
Thu May 17 2018 11:31:02 GMT+0800 (China Standard time) render layer network layer error


pictures should not be an array, there are many items in it. Check whether setData has become an item


to "details" and check the "do not verify legal domain name, web-view (business domain name), TLS version and HTTPS certificate" check the path of


image.

Menu