cookie设置时间

This commit is contained in:
caishi 2021-10-20 11:06:49 +08:00
parent 2c867f9856
commit 76c2d205eb
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ function SystemNotice({system_notification,history}){
function sureContinue() {
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,path:"/" });
setVisible(false);