From 56a9837c9c09506f30e664183ce6b67ff51c59e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Sat, 7 Sep 2024 18:31:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9E=E5=90=8D=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E5=BC=95=E5=AF=BC=E5=8E=BBapp=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/lockDetail/lockDetail.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/lockDetail/lockDetail.vue b/pages/lockDetail/lockDetail.vue index 2c14044..705d81e 100644 --- a/pages/lockDetail/lockDetail.vue +++ b/pages/lockDetail/lockDetail.vue @@ -137,6 +137,15 @@ export default { } }, async openDoorOperate(type) { + if(this.currentLockInfo.faceAuthentication === 1 && + this.currentLockInfo.nextFaceValidateTime <= new Date().getTime()) { + uni.showModal({ + title: '提示', + content: '开门前需进行实名认证,小程序暂不支持,请使用APP认证开门', + showCancel: false + }) + return + } if(this.pending) { return }