pages/scanResult/index.js
@@ -244,7 +244,6 @@ item.icon ? item.icon = item.icon : item.icon = "/static/images/default-book-img.png", item.itemType = this.data.goodsData.saleMethodList[0].type == 'createProductFolderSaleMethod' ? '目录' : this.data.goodsData.saleMethodList[0].type == 'createProductItemSaleMethod' ? '资源' : '电子书' }) console.log(1, res.datas[0]); that.setData({ productInfo: res.datas })