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")