修正人脸认证的判断时间
This commit is contained in:
parent
46f537842f
commit
373cbdbb35
@ -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认证开门',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user