<ocr-navigator bind:onSuccess="bindIdcardSuccess1" certificateType="idCard" opposite="{{false}}">
<button type="primary">身份证正面识别</button>
</ocr-navigator>
<ocr-navigator bind:onSuccess="bindIdcardSuccess" certificateType="idCard" opposite="{{true}}">
<button type="primary">身份证反面识别</button>
</ocr-navigator>
bindIdcardSuccess(e) {
console.log(e)
}
不行替换成官方这个图像处理接口试试。
上面写错了 bindIdcardSuccess1(e) { console.log(e) }