From fcc89f52cb48d6e05f28389040dca64d485eefc5 Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Thu, 20 Jan 2022 11:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=A1=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3662e6e..a9dc97a 100644 --- a/index.html +++ b/index.html @@ -149,10 +149,10 @@ getClockQuery() { var that = this var timer = null; - let d = new Date() - let startTime = new Date(d).getTime() + let startTime = new Date(new Date().toLocaleDateString()).getTime(); + let endTime = new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000; const params = JSON.stringify({ - param: { projectId: that.projectId,roleId: that.roleId, memberIdList: [], startTime, endTime: startTime } + param: { projectId: that.projectId,roleId: that.roleId, memberIdList: [], startTime, endTime } }); var url = 'https://www.tall.wiki/gateway/defaultwbs/clock/query'; fetch(url, {