mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 22:46:45 +08:00
[FIX]【保全】放开人脸识别
This commit is contained in:
@@ -123,19 +123,19 @@ export default {
|
|||||||
toFace(config) {
|
toFace(config) {
|
||||||
console.log('----------', config)
|
console.log('----------', config)
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
// EWebBridge.webCallAppInJs('face_auth', config)
|
EWebBridge.webCallAppInJs('face_auth', config)
|
||||||
// 跳过人脸识别
|
// 跳过人脸识别
|
||||||
new Promise(resolve => {
|
// new Promise(resolve => {
|
||||||
console.log('--跳过人脸识别--返回识别成功')
|
// console.log('--跳过人脸识别--返回识别成功')
|
||||||
resolve(JSON.stringify({ state: '1' }))
|
// resolve(JSON.stringify({ state: '1' }))
|
||||||
}).then(data => {
|
.then(data => {
|
||||||
if (JSON.parse(data).state == '1') {
|
if (JSON.parse(data).state == '1') {
|
||||||
this.jumpNextPage(this.path)
|
this.jumpNextPage(this.path)
|
||||||
} else {
|
} else {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败')
|
EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user