Commit 13087358 authored by linxin's avatar linxin

add

parent bb28b870
......@@ -445,18 +445,18 @@ export default {
if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore >= 50) {
hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// if (identifyScore >= 50) {
hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// 进入活体检测页面
vm.goBodyCheck(vm.confirm_id)
},
})
} else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
vm.goBodyCheck(vm.confirm_id)
},
})
// } else {
// hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
// }
} else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
......
......@@ -704,18 +704,18 @@ export default {
if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore > 50) {
hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// if (identifyScore > 50) {
hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// 进入活体检测页面
vm.goBodyCheck(vm.confirm_id)
},
})
} else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
vm.goBodyCheck(vm.confirm_id)
},
})
// } else {
// hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
// }
} else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
......
......@@ -522,18 +522,18 @@ export default {
if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore >= 50) {
vm.hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// if (identifyScore >= 50) {
vm.hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// 进入活体检测页面
vm.goBodyCheck()
},
})
} else {
vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
vm.goBodyCheck()
},
})
// } else {
// vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
// }
} else {
vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment