修改支付组件回调参数
This commit is contained in:
parent
33b1072611
commit
e63f27e41e
|
@ -374,8 +374,8 @@
|
|||
|
||||
|
||||
/* 去支付 */
|
||||
payFunction ({ type, isSupport }) {
|
||||
this.active = type
|
||||
payFunction ({ payType, isSupport }) {
|
||||
this.active = payType
|
||||
this.show = false
|
||||
alert(isSupport ? '不持支' : '支持')
|
||||
},
|
||||
|
|
|
@ -108,8 +108,8 @@
|
|||
},
|
||||
|
||||
/* 去支付 */
|
||||
payFunction ({ type, isSupport }) {
|
||||
this.active = type
|
||||
payFunction ({ payType, isSupport }) {
|
||||
this.active = payType
|
||||
this.show = false
|
||||
alert(isSupport ? '不持支' : '支持')
|
||||
},
|
||||
|
|
|
@ -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 })
|
||||
},
|
||||
|
||||
/* 关闭 */
|
||||
|
|
Loading…
Reference in New Issue