@@ -172,6 +172,8 @@ export default {
}
+ console.log('this.showIndexOfMoney',this.showIndexOfMoney)
+ console.log('this.smallMoney',this.smallMoney)
},
clickPopupShow(type) {
this.popupShow = true
@@ -333,7 +333,7 @@
this.productImage.push(item);
})
//处理阶梯价格
- if(this.product.ladderList.length>0){
+ if(this.product.ladderList && this.product.ladderList.length>0){
this.ladderList = this.product.ladderList;
this.retailPrice = this.product.price.toFixed(2);