From e63f27e41eb10eed5936ca7c119a139f9789219b Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 28 Sep 2022 11:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=94=AF=E4=BB=98=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=9B=9E=E8=B0=83=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v1_5_0_C/exchange.html | 4 ++-- v1_5_0_C/myOrder.html | 4 ++-- v1_5_0_C/payPop.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/v1_5_0_C/exchange.html b/v1_5_0_C/exchange.html index a920fee..9cdea47 100644 --- a/v1_5_0_C/exchange.html +++ b/v1_5_0_C/exchange.html @@ -374,8 +374,8 @@ /* 去支付 */ - payFunction ({ type, isSupport }) { - this.active = type + payFunction ({ payType, isSupport }) { + this.active = payType this.show = false alert(isSupport ? '不持支' : '支持') }, diff --git a/v1_5_0_C/myOrder.html b/v1_5_0_C/myOrder.html index 3c3c2b5..44b1514 100644 --- a/v1_5_0_C/myOrder.html +++ b/v1_5_0_C/myOrder.html @@ -108,8 +108,8 @@ }, /* 去支付 */ - payFunction ({ type, isSupport }) { - this.active = type + payFunction ({ payType, isSupport }) { + this.active = payType this.show = false alert(isSupport ? '不持支' : '支持') }, diff --git a/v1_5_0_C/payPop.js b/v1_5_0_C/payPop.js index 2cf7289..d37a586 100644 --- a/v1_5_0_C/payPop.js +++ b/v1_5_0_C/payPop.js @@ -52,7 +52,7 @@ const payPop = { let isSupport = false /* false:支持当前环境 true:不支持当前环境 */ if (!!us.match(/DingTalk/gi) && this.active !== 2) isSupport = true if (!!us.match(/weiXin/gi) && this.active !== 1) isSupport = true - this.$emit("payfunction", { active: this.active, isSupport }) + this.$emit("payfunction", { payType: this.active, isSupport }) }, /* 关闭 */