From afd2cec4f28e5cc03e833ea22960fac90844d477 Mon Sep 17 00:00:00 2001 From: caishi Date: Fri, 15 Oct 2021 10:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98cookie=E6=97=B6=E5=85=88?= =?UTF-8?q?=E5=88=A0=E9=99=A4cookie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/NoticeModal/SystemNotice.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/forge/Component/NoticeModal/SystemNotice.jsx b/src/forge/Component/NoticeModal/SystemNotice.jsx index 8032d50e..cb3fccf0 100644 --- a/src/forge/Component/NoticeModal/SystemNotice.jsx +++ b/src/forge/Component/NoticeModal/SystemNotice.jsx @@ -26,6 +26,7 @@ function SystemNotice({system_notification,history}){ // } // }).catch(error=>{}) // } + cookie.remove('notice_stage'); let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天 cookie.save('notice_stage', true,{ expires: inFifteenMinutes }); console.log("cookies:",cookie.load('notice_stage')) ;