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 '支付宝'