image onerror处理
imageError(e) {
var index = e.currentTarget.dataset.id;
index=parseInt(index)-1;
console.log(index);
var PICTURE_LJ = 'goodslist[' + index + '].PIC'
this.setData({
[PICTURE_LJ]: 'https://....../C.png'
})
},
imageError(e) {
var index = e.currentTarget.dataset.id;
index=parseInt(index)-1;
console.log(index);
var PICTURE_LJ = 'goodslist[' + index + '].PIC'
this.setData({
[PICTURE_LJ]: 'https://....../C.png'
})
},