Appearance
使用方法
在需要使用插件的页面加载以下代码
vue
<leven-uts-baiduFace-Recognition style="position: fixed; left: 0; right: 0; bottom: 0; top: 0;"
ref="refLevenRegister" :config="config" @onEvent="onEvent" @onError="onError"
@onEventMethod="onEventMethod"></leven-uts-baiduFace-Recognition>vue
<leven-uts-baiduFace-Recognition style="flex: 1;" ref="refLevenRegister" :configX="config" @onEvent="onEvent"
@onError="onError" @onEventMethod="onEventMethod"></leven-uts-baiduFace-Recognition>
//组件的引用
const refLevenRegister = ref<LevenUtsBaiduFaceRecognitionElement | null>(null)注意
- 组件只能在nvue/uvue页面中使用,不支持vue页面,config参数必传,具体请参考【初始化配置】

