forked from Gitlink/forgeplus-react
Merge pull request '域名更换弹框样式' (#186) from caishi/forgeplus-react:featrue_system_popup_notification into featrue_system_popup_notification
This commit is contained in:
commit
edbd47ea0f
|
@ -39,13 +39,10 @@
|
||||||
.nContent{
|
.nContent{
|
||||||
padding:20px 34px;
|
padding:20px 34px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.nMaindesc{
|
line-height: 30px;
|
||||||
height: 90px;
|
font-size: 15px;
|
||||||
font-size: 15px;
|
font-weight: 400;
|
||||||
font-weight: 400;
|
color: #333;
|
||||||
color: #000000;
|
|
||||||
line-height: 30px;
|
|
||||||
}
|
|
||||||
.realmName{
|
.realmName{
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -26,10 +26,12 @@ function SystemNotice({system_notification,history}){
|
||||||
// }
|
// }
|
||||||
// }).catch(error=>{})
|
// }).catch(error=>{})
|
||||||
// }
|
// }
|
||||||
|
console.log("cookies before:",cookie.load('notice_stage')) ;
|
||||||
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);//一分钟
|
||||||
cookie.save('notice_stage', true,{ expires: inFifteenMinutes });
|
cookie.save('notice_stage', true,{ expires: inFifteenMinutes });
|
||||||
console.log("cookies:",cookie.load('notice_stage')) ;
|
console.log("cookies after:",cookie.load('notice_stage')) ;
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue