🦀️ fix: 修复bug

This commit is contained in:
wangsongsole 2024-04-03 10:22:54 +08:00
parent f0a9bbe0cc
commit 36eb3b0e8a
2 changed files with 3 additions and 2 deletions

View File

@ -296,7 +296,7 @@
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
/* 卡密商品直接兑换 */
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2 && this.backAble) {
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
this.maskshow = true;
this.popboxshow = true;
this.popboxtype = '兑换';

View File

@ -343,8 +343,9 @@
if (goodsDetail.available != 1) {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
/* 卡密商品直接兑换 */
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2 && this.backAble) {
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
this.maskshow = true;
this.popboxshow = true;
this.popboxtype = '兑换';