Skip to content

相机打开事件 ​

事件名称 ​

onCameraOpened

用法 ​

vue
<leven-uts-arc-face5 ref="refLevenArcFacePro" @onCameraOpened="onCameraOpened">
</leven-uts-arc-face5>

回调用法 ​

js
onCameraOpened(e) {
    console.log(e.detail)
  }

回调示例 ​

json
{
  "data": {},
  "message": "",
  "code": 0
}

回调说明 ​

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
codeInteger返回类型,0.成功,其他:失败