From 75d94907da12a0603a84c60d22752ae90a17b55e Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Thu, 28 May 2020 11:38:10 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E3=80=90=E6=9B=B4=E6=8D=A2=E4=BA=BA?= =?UTF-8?q?=E8=84=B8=E8=AF=86=E5=88=AB=E5=8E=82=E5=95=86=E3=80=91=E4=B8=8A?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E4=BA=BA=E8=84=B8=E8=AF=86=E5=88=AB=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E5=BD=B1=E5=83=8F=E5=88=B0=E4=B8=8B=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E7=9A=84=E7=AD=BE=E5=90=8D=E8=BF=9B=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureConfirmation.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index cec5a0420..9520c9f82 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -419,7 +419,10 @@ export default { Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' }) } // 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'])) } }, 5000)