diff --git a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue index 5841dc09663fa5f607dddce55ebf2ae9f6461016..0f0e51a8caa5d081096b44e8f7e9e6626854713a 100644 --- a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue +++ b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue @@ -47,19 +47,7 @@ return } const testFacialCo = uniCloud.importObject('facial-recognition-co') - let metaInfo : string - try { - metaInfo = uni.getFacialRecognitionMetaInfo(); - } catch (e) { - if ((e as Error).message!.indexOf('Failed resolution of') > -1) { - uni.showModal({ - title: '提示', - content: '注意:目前uni-app x内使用实人认证功能需要打包自定义基座。', - showCancel: false - }) - } - throw e - } + let metaInfo = uni.getFacialRecognitionMetaInfo(); testFacialCo.getCertifyId({ realName, idCard,