From a0b5604fcefa0c7900ecc50830b718f77bba8f39 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 15 七月 2022 14:43:40 +0800 Subject: [PATCH] add cluster pwd --- src/views/productDetail/components/PayCard.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/productDetail/components/PayCard.vue b/src/views/productDetail/components/PayCard.vue index 91c8931..18a7ef1 100644 --- a/src/views/productDetail/components/PayCard.vue +++ b/src/views/productDetail/components/PayCard.vue @@ -516,7 +516,6 @@ this.activeImg.url = url; }, confirmNow() { - this.cartItem.totalPrice = this.computTotalPrice; let products = [ { activateCode: this.cartItem.requestCode, @@ -544,7 +543,7 @@ if (res.success) { this.orderId = res.data.orderId; - if (this.cartItem.totalPrice == 0) { + if (this.data.priceBase == 0) { resumePay({ orderId: this.orderId, payMethod: 5 }).then((res) => { if (res.success) { this.$router.push({ @@ -562,9 +561,9 @@ } }); return; + } else { + this.showOrder = true; } - - this.showOrder = true; } }); }, -- Gitblit v1.8.0