微信环境 人脸识别失败后不触发短信验证修复

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-12-13 14:00:26 +08:00
parent f55bf256ef
commit 4c456fe587

View File

@@ -1766,16 +1766,22 @@ export default {
this.goUrl() this.goUrl()
} }
} else { } else {
this.faceAuthCount.weixin++ // this.faceAuthCount.weixin++
console.log('腾讯人脸识别失败', this.faceAuthCount.weixin, typeof this.faceAuthCount.weixin) // console.log('腾讯人脸识别失败', this.faceAuthCount.weixin, typeof this.faceAuthCount.weixin)
if (this.faceAuthCount.weixin >= this.smsAuthNum) { // if (this.faceAuthCount.weixin >= this.smsAuthNum) {
if (window.sessionStorage.shareCode == '1') { // if (window.sessionStorage.shareCode == '1') {
this.operaFlag = 'insured' // this.operaFlag = 'insured'
} else { // } else {
this.operaFlag = 'appnt' // this.operaFlag = 'appnt'
} // }
this.realPeopelCheck() // this.realPeopelCheck()
// }
if (window.sessionStorage.shareCode == '1') {
this.operaFlag = 'insured'
} else {
this.operaFlag = 'appnt'
} }
this.realPeopelCheck()
} }
}, },
async recognition() { async recognition() {