From 4b36aba600743b338092ca13d134b204fdf39a50 Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Tue, 7 Jul 2020 10:55:08 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=E3=80=90=E4=BF=9D=E5=85=A8=E3=80=91?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E4=BA=BA=E8=84=B8=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ebiz/preserve/common/HandleResult.vue | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/ebiz/preserve/common/HandleResult.vue b/src/views/ebiz/preserve/common/HandleResult.vue index a9a205bf0..7fb635762 100644 --- a/src/views/ebiz/preserve/common/HandleResult.vue +++ b/src/views/ebiz/preserve/common/HandleResult.vue @@ -123,19 +123,19 @@ export default { toFace(config) { console.log('----------', config) // eslint-disable-next-line no-undef - // EWebBridge.webCallAppInJs('face_auth', config) - // 跳过人脸识别 - new Promise(resolve => { - console.log('--跳过人脸识别--返回识别成功') - resolve(JSON.stringify({ state: '1' })) - }).then(data => { - if (JSON.parse(data).state == '1') { - this.jumpNextPage(this.path) - } else { - // eslint-disable-next-line no-undef - EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败') - } - }) + EWebBridge.webCallAppInJs('face_auth', config) + // 跳过人脸识别 + // new Promise(resolve => { + // console.log('--跳过人脸识别--返回识别成功') + // resolve(JSON.stringify({ state: '1' })) + .then(data => { + if (JSON.parse(data).state == '1') { + this.jumpNextPage(this.path) + } else { + // eslint-disable-next-line no-undef + EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败') + } + }) } } }