From 4f67df4eb01ad8567c7b1e523f794c4a3a0eb619 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 14 Dec 2023 11:02:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=A0=87=E5=87=86=E5=9F=BA=E5=BA=A7?= =?UTF-8?q?=E5=B7=B2=E5=86=85=E7=BD=AE=E5=AE=9E=E4=BA=BA=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E6=97=A0=E9=9C=80=E9=A2=9D=E5=A4=96=E5=A4=84=E7=90=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../facial-recognition-verify.uvue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue index 3a0ffef4..0f0e51a8 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, -- GitLab