Skip to content

关闭人脸识别

方法名

closeRecognition

用法

  • 用法如下:
    js
    this.$refs.refLevenPayment.closeRecognition(res => {
      console.log(res)
    })
    js
    const refLevenPayment = ref<LevenUtsBaiduUvcFacePaymentXElement | null>(null)
    const result = refLevenPayment.value.closeRecognition()
  • 参数说明 无

回调

  • 回调示例
json
{
    "data": { },
    "message": "",
    "code": 0
}
  • 回调说明:
    参数名参数类型参数描述
    messageString消息提示
    dataObject数据对象
    codeInteger返回类型,0.成功,其他:失败

    uniappx直接返回true