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', '人脸检测失败') + } + }) } } }