From db0eb3315850ce22ce8614e14253c5f87a649321 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 6 Apr 2021 16:37:44 +0800 Subject: [PATCH] 农行支付---立即支付 --- src/components/dynCodePay.vue | 2 +- src/components/orderPay.vue | 2 +- src/utils/utils.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/dynCodePay.vue b/src/components/dynCodePay.vue index 1f48e07..6577320 100644 --- a/src/components/dynCodePay.vue +++ b/src/components/dynCodePay.vue @@ -157,7 +157,7 @@ export default { }) } - if (this.clientBrowser == '农行') { // 农行支付 + if (this.clientBrowser == '立即') { // 农行支付 var bankabcParams = {}; bankabcParams.orderId = this.orderId; bankabcParams.carNumber = this.carNumber; diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue index 7cc8be4..3f18d62 100644 --- a/src/components/orderPay.vue +++ b/src/components/orderPay.vue @@ -134,7 +134,7 @@ export default { } console.log(this.clientBrowser) - if (this.clientBrowser == '农行') { // 农行支付 + if (this.clientBrowser == '立即') { // 农行支付 var bankabcParams = {}; bankabcParams.orderId = this.orderId; bankabcParams.carNumber = this.carNumber; diff --git a/src/utils/utils.js b/src/utils/utils.js index 6409df9..3992d83 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -119,10 +119,10 @@ export default { return '支付宝' } else if (/BankabciPhone/.test(window.navigator.userAgent)) { console.log("农行客户端"); - return '农行' + return '立即' }else if (/BankabcAndroid/.test(window.navigator.userAgent)) { console.log("农行客户端"); - return '农行' + return '立即' }else { console.log("其他浏览器"); return '支付宝' -- libgit2 0.21.4