diff --git a/pages/API/facial-recognition-verify/facial-recognition-verify.uvue b/pages/API/facial-recognition-verify/facial-recognition-verify.uvue index 5841dc09663fa5f607dddce55ebf2ae9f6461016..3a0ffef43832a9fbd1b2fae086e90f2f2fc14378 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内使用实人认证功能需要打包自定义基座。',