Appearance
当前是否可进行人脸识别
方法名
checkRecognitionStatus
用法
示例
js
if (this.$refs.refLevenFinance) {
this.$refs.refLevenFinance.checkRecognitionStatus(res => {
this.writeLog(JSON.stringify(res))
})
}参数说明
无
回调
示例
json
{
"data": {
"status": false
},
"message": "",
"code": 0
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| data.status | Boolean | 当前可识别状态 |
| code | Integer | 返回类型,0.成功,其他:失败 |
