From da14b91b7819694bd04ef8f46281058733c482c2 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 3 Mar 2023 17:51:11 +0800 Subject: [PATCH] optimization --- web/client/src/sections/patrolManage/containers/patrolReport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/patrolManage/containers/patrolReport.js b/web/client/src/sections/patrolManage/containers/patrolReport.js index 0167421..a4a36b3 100644 --- a/web/client/src/sections/patrolManage/containers/patrolReport.js +++ b/web/client/src/sections/patrolManage/containers/patrolReport.js @@ -102,7 +102,7 @@ function patrolReport(props) { total: res.payload.data.count ? res.payload.data.count : 0, }; }} - onReset={() => { }} + onReset={() => { setDate([moment(), moment()]) }} /> )