From c08cfa13bba3520f5a78e0c7448e9d551206f1a0 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Thu, 3 Aug 2023 00:11:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F-=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=A4=E5=AE=9A=E6=97=B6=E9=97=B4=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/src/packages/patrol/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index d4bb46e6..fa71b055 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -318,7 +318,7 @@ const Index = () => { if (data.handleContent) { setHandleCenter(data.handleContent) } - setIsBeforeReport(dayjs(data.time).diff('2023-08-02', 'd') < 0) + setIsBeforeReport(dayjs(data.time).diff('2023-08-03 00:00:00', 'h') < 0) } else { Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) }