diff --git a/src/forge/Component/NoticeModal/SystemNotice.jsx b/src/forge/Component/NoticeModal/SystemNotice.jsx index 32c864ab1..917b87c85 100644 --- a/src/forge/Component/NoticeModal/SystemNotice.jsx +++ b/src/forge/Component/NoticeModal/SystemNotice.jsx @@ -28,8 +28,8 @@ function SystemNotice({system_notification,history}){ // } console.log("cookies before:",cookie.load('notice_stage')) ; cookie.remove('notice_stage'); - // let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天 - let inFifteenMinutes = new Date(new Date().getTime() + 60 * 1000);//一分钟 + let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天 + // let inFifteenMinutes = new Date(new Date().getTime() + 60 * 1000);//一分钟 cookie.save('notice_stage', true,{ expires: inFifteenMinutes }); console.log("cookies after:",cookie.load('notice_stage')) ; setVisible(false);