From f421d955f1e835558fafd1d4f693839bd44a1b4b Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 31 Aug 2022 23:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/java110/utils/EnvUtil.js | 2 +- pages/tempCarFee/tempCarFee.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/java110/utils/EnvUtil.js b/lib/java110/utils/EnvUtil.js index f2b9390..2fa71fe 100644 --- a/lib/java110/utils/EnvUtil.js +++ b/lib/java110/utils/EnvUtil.js @@ -1,4 +1,4 @@ -export default function isWxOrAli() { +export function isWxOrAli() { let _env = "WECHAT" if (/MicroMessenger/.test(window.navigator.userAgent)) { _env = "WECHAT" diff --git a/pages/tempCarFee/tempCarFee.vue b/pages/tempCarFee/tempCarFee.vue index c23bd69..182173d 100644 --- a/pages/tempCarFee/tempCarFee.vue +++ b/pages/tempCarFee/tempCarFee.vue @@ -173,9 +173,9 @@ }, onPayFee: function() { if(isWxOrAli == 'ALIPAY'){ - onAliPayPayFee(); + this.onAliPayPayFee(); }else{ - onWxPayFee(); + this.onWxPayFee(); } }, onAliPayPayFee:function(){