This commit is contained in:
yanran200730
2022-11-03 14:00:39 +08:00
parent 213cd46a1c
commit e259bbc969

View File

@@ -67,7 +67,7 @@
const outSTimes = new Date(this.info.exitBegintime.replaceAll('-', '/')).getTime()
const outETimes = new Date(this.info.exitEndtime.replaceAll('-', '/')).getTime()
if (this.info.clockRange > this.distance && (!this.info.intoClock && (times > inSTimes && times < inETimes)) || this.info.exitClock && (times > outSTimes && times < outETimes)) {
if (this.info.clockRange > this.distance && (!this.info.intoClock && (times > inSTimes && times < inETimes)) || !this.info.exitClock && (times > outSTimes && times < outETimes)) {
return true
}