Merge branch 'hotfix/bug_【更换人脸识别厂商微信端】偶发性首次进入微信空签,签署文档参数缺失问题' into dev

This commit is contained in:
yuweiqi
2020-05-28 11:38:31 +08:00

View File

@@ -419,7 +419,10 @@ export default {
Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' }) Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' })
} }
// localStorage['faceAuthWeXin-requestId'] localStorage['faceAuthWeXin-bizToken']--微信端人脸识别获取腾讯认证url接口获得认证相关参数 // localStorage['faceAuthWeXin-requestId'] localStorage['faceAuthWeXin-bizToken']--微信端人脸识别获取腾讯认证url接口获得认证相关参数
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { if ((localStorage['faceAuthWeXin-requestId'] || localStorage['faceAuthWeXin-bizToken']) && this.$route.query.faceAuthCountWeixin) {
localStorage['faceAuthWeXin-requestId'] = undefined
localStorage['faceAuthWeXin-bizToken'] = undefined
} else if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && !this.$route.query.faceAuthCountWeixin) {
this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken'])) this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']))
} }
}, 5000) }, 5000)