cookie设置时间
This commit is contained in:
parent
2c867f9856
commit
76c2d205eb
|
@ -17,8 +17,8 @@ function SystemNotice({system_notification,history}){
|
||||||
function sureContinue() {
|
function sureContinue() {
|
||||||
cookie.remove('notice_stage');
|
cookie.remove('notice_stage');
|
||||||
|
|
||||||
// let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天
|
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() + 60 * 1000);//一分钟
|
||||||
cookie.save('notice_stage', true,{ expires: inFifteenMinutes,path:"/" });
|
cookie.save('notice_stage', true,{ expires: inFifteenMinutes,path:"/" });
|
||||||
|
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
|
Loading…
Reference in New Issue