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 }) }, /* 关闭 */