From 1d54f5c1d5c332a192b36e26cb5890aa74ce9080 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 13 Jun 2023 17:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9Bissue=E8=AF=A6=E6=83=85=E4=BC=9A?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Issues/Component/date.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Issues/Component/date.jsx b/src/forge/Issues/Component/date.jsx index 7df519fd9..bd4f00a9a 100644 --- a/src/forge/Issues/Component/date.jsx +++ b/src/forge/Issues/Component/date.jsx @@ -18,7 +18,7 @@ function Date({name , today , setDate , editFlag},ref){ const refBox = useRef(null); useEffect(()=>{ - if(!visible && !editFlag &&time){ + if(!visible && !editFlag && (time && time !== today)){ setDate(time); } },[visible,editFlag,time])