Commit 13087358 authored by linxin's avatar linxin

add

parent bb28b870
...@@ -445,18 +445,18 @@ export default { ...@@ -445,18 +445,18 @@ export default {
if (res.success && res.result.result.score) { if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload) vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0) let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore >= 50) { // if (identifyScore >= 50) {
hlsPopup.showPopup({ hlsPopup.showPopup({
title: '提示', title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`, content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => { onConfirm: () => {
// 进入活体检测页面 // 进入活体检测页面
vm.goBodyCheck(vm.confirm_id) vm.goBodyCheck(vm.confirm_id)
}, },
}) })
} else { // } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') // hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} // }
} else { } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} }
......
...@@ -704,18 +704,18 @@ export default { ...@@ -704,18 +704,18 @@ export default {
if (res.success && res.result.result.score) { if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload) vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0) let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore > 50) { // if (identifyScore > 50) {
hlsPopup.showPopup({ hlsPopup.showPopup({
title: '提示', title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`, content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => { onConfirm: () => {
// 进入活体检测页面 // 进入活体检测页面
vm.goBodyCheck(vm.confirm_id) vm.goBodyCheck(vm.confirm_id)
}, },
}) })
} else { // } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') // hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} // }
} else { } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} }
......
...@@ -522,18 +522,18 @@ export default { ...@@ -522,18 +522,18 @@ export default {
if (res.success && res.result.result.score) { if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload) vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0) let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore >= 50) { // if (identifyScore >= 50) {
vm.hlsPopup.showPopup({ vm.hlsPopup.showPopup({
title: '提示', title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`, content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => { onConfirm: () => {
// 进入活体检测页面 // 进入活体检测页面
vm.goBodyCheck() vm.goBodyCheck()
}, },
}) })
} else { // } else {
vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') // vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} // }
} else { } else {
vm.hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') 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