From b1c4b80be3bf25cf387b80e7b5bdde40c736eeed Mon Sep 17 00:00:00 2001 From: lpq Date: Sun, 19 Feb 2023 13:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E7=AE=97=E7=AD=BE=E5=88=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/ActiveAttendance.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index fe816382..8af1e4ed 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -409,10 +409,10 @@ export default { const isSignClick = () => { debugger console.log("计算签到时间", props.datasource); - let beginTime = new Date(props.datasource.info.activityStartTime).getTime(); + let beginTime = new Date(props.datasource.startTime).getTime(); let endTime = !props.datasource.info.afterSignIn - ? new Date(props.datasource.info.endTime).getTime() - : new Date(props.datasource.info.startTime).getTime(); + ? new Date(props.datasource.endTime).getTime() + : new Date(props.datasource.startTime).getTime(); if (props.datasource.info.beforeSignIn && props.datasource.info.afterSignIn) { //有开始前有开始后