From ec97e66b312a5bf227a706a682937855263d7fd9 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Sat, 9 Dec 2023 15:06:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4getFacialRecognitionMe?= =?UTF-8?q?taInfo=E6=8D=95=E8=8E=B7=E5=88=B0=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84as=20Error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../facial-recognition-verify/facial-recognition-verify.uvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue index 5841dc09..3a0ffef4 100644 --- a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue +++ b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue @@ -51,7 +51,7 @@ try { metaInfo = uni.getFacialRecognitionMetaInfo(); } catch (e) { - if ((e as Error).message!.indexOf('Failed resolution of') > -1) { + if (e.message!.indexOf('Failed resolution of') > -1) { uni.showModal({ title: '提示', content: '注意:目前uni-app x内使用实人认证功能需要打包自定义基座。', -- GitLab