<ocr-navigator bind:onSuccess="successCallback" certificateType="idCard" opposite="{{false}}">
<button type="primary" plain='true'>身份证</button>
</ocr-navigator>
successCallback(res)
{
that.setData({
name:res.detail.name.text,
id:res.detail.id.text,
addr:res.detail.address.text,
})
},