优化支付

This commit is contained in:
java110 2022-08-31 23:29:56 +08:00
parent 987bab77cd
commit f421d955f1
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
export default function isWxOrAli() {
export function isWxOrAli() {
let _env = "WECHAT"
if (/MicroMessenger/.test(window.navigator.userAgent)) {
_env = "WECHAT"

View File

@ -173,9 +173,9 @@
},
onPayFee: function() {
if(isWxOrAli == 'ALIPAY'){
onAliPayPayFee();
this.onAliPayPayFee();
}else{
onWxPayFee();
this.onWxPayFee();
}
},
onAliPayPayFee:function(){