From 3bc6323fb4a1ddcd2a5249ac58a846cc8341aa95 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Thu, 16 Apr 2020 17:44:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/scanPay/scanPay.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/scanPay/scanPay.js b/pages/scanPay/scanPay.js index 20844b5..92349c3 100644 --- a/pages/scanPay/scanPay.js +++ b/pages/scanPay/scanPay.js @@ -17,7 +17,7 @@ Page({ cardList: [], arrays: [], showModel: false, - showInput:false, + showInput: false, ids: "", wmyes: imgurl.wmyes.url, wmclose: imgurl.wmclose.url @@ -79,7 +79,7 @@ Page({ ids: "", remainingAmount: that.data.remainingAmounts }) - if(err.errCode==90008||err.errCode == 90009){ + if (err.errCode == 90008 || err.errCode == 90009) { // 90009 指纹验证失败 // 90008 用户已取消 wx.showModal({ @@ -87,7 +87,7 @@ Page({ showCancel: false, content: '指纹验证后才能支付' }) - }else{ + } else { that.gotoPay(); } } @@ -193,7 +193,7 @@ Page({ } else if (that.data.inputValue != "" && Number(that.data.remainingAmount) < Number(that.data.inputValue)) { that.setData({ showModel: true, - showInput:'disabled' + showInput: 'disabled' }) that.getList(); console.log("1111")