diff --git a/exchange.html b/exchange.html index 65acb3c..b1618c4 100644 --- a/exchange.html +++ b/exchange.html @@ -293,8 +293,8 @@ //兑换商品 exchangeGoodsFn () { if (goodsDetail.available != 1) { - if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) { - return this.openErrorDialog(this.goodsDetail.available.period_tips_text) + if(this.goodsDetail.available === 23 && this.goodsDetail.period_tips_text) { + return this.openErrorDialog(this.goodsDetail.period_tips_text) } else { return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); } diff --git a/packkey/exchange.html b/packkey/exchange.html index 393325d..691bc19 100644 --- a/packkey/exchange.html +++ b/packkey/exchange.html @@ -341,8 +341,8 @@ //兑换商品 exchangeGoodsFn () { if (goodsDetail.available != 1) { - if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) { - return this.openErrorDialog(this.goodsDetail.available.period_tips_text) + if(this.goodsDetail.available === 23 && this.goodsDetail.period_tips_text) { + return this.openErrorDialog(this.goodsDetail.period_tips_text) } else { return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); }