diff --git a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue index 3a0ffef43832a9fbd1b2fae086e90f2f2fc14378..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.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,