mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化支付
This commit is contained in:
parent
987bab77cd
commit
f421d955f1
@ -1,4 +1,4 @@
|
||||
export default function isWxOrAli() {
|
||||
export function isWxOrAli() {
|
||||
let _env = "WECHAT"
|
||||
if (/MicroMessenger/.test(window.navigator.userAgent)) {
|
||||
_env = "WECHAT"
|
||||
|
||||
@ -173,9 +173,9 @@
|
||||
},
|
||||
onPayFee: function() {
|
||||
if(isWxOrAli == 'ALIPAY'){
|
||||
onAliPayPayFee();
|
||||
this.onAliPayPayFee();
|
||||
}else{
|
||||
onWxPayFee();
|
||||
this.onWxPayFee();
|
||||
}
|
||||
},
|
||||
onAliPayPayFee:function(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user