From 373cbdbb358186f97866603724ceef3995057d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Thu, 12 Sep 2024 14:16:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=BA=E8=84=B8=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E7=9A=84=E5=88=A4=E6=96=AD=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/lockDetail/lockDetail.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/lockDetail/lockDetail.vue b/pages/lockDetail/lockDetail.vue index 5f2203b..42802ec 100644 --- a/pages/lockDetail/lockDetail.vue +++ b/pages/lockDetail/lockDetail.vue @@ -138,7 +138,8 @@ export default { }, async openDoorOperate(type) { if(this.currentLockInfo.faceAuthentication === 1 && - this.currentLockInfo.nextFaceValidateTime <= new Date().getTime() + this.time * 1000) { + ((this.currentLockInfo.nextFaceValidateTime <= new Date().getTime() + this.time * 1000) && + this.currentLockInfo.nextFaceValidateTime !== 0)) { uni.showModal({ title: '提示', content: '开门前需进行实名认证,小程序暂不支持,请使用APP认证开门',