Commit 13087358 authored by linxin's avatar linxin

add

parent bb28b870
...@@ -445,7 +445,7 @@ export default { ...@@ -445,7 +445,7 @@ 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},请进行活体检测`,
...@@ -454,9 +454,9 @@ export default { ...@@ -454,9 +454,9 @@ export default {
vm.goBodyCheck(vm.confirm_id) vm.goBodyCheck(vm.confirm_id)
}, },
}) })
} else { // } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') // hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} // }
} else { } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} }
......
...@@ -704,7 +704,7 @@ export default { ...@@ -704,7 +704,7 @@ 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},请进行活体检测`,
...@@ -713,9 +713,9 @@ export default { ...@@ -713,9 +713,9 @@ export default {
vm.goBodyCheck(vm.confirm_id) vm.goBodyCheck(vm.confirm_id)
}, },
}) })
} else { // } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') // hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} // }
} else { } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} }
......
...@@ -522,7 +522,7 @@ export default { ...@@ -522,7 +522,7 @@ 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},请进行活体检测`,
...@@ -531,9 +531,9 @@ export default { ...@@ -531,9 +531,9 @@ export default {
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