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{
|
||||
padding:20px 34px;
|
||||
background-color: #fff;
|
||||
.nMaindesc{
|
||||
height: 90px;
|
||||
line-height: 30px;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
line-height: 30px;
|
||||
}
|
||||
color: #333;
|
||||
.realmName{
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
|
|
|
@ -26,10 +26,12 @@ function SystemNotice({system_notification,history}){
|
|||
// }
|
||||
// }).catch(error=>{})
|
||||
// }
|
||||
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);//一分钟
|
||||
cookie.save('notice_stage', true,{ expires: inFifteenMinutes });
|
||||
console.log("cookies:",cookie.load('notice_stage')) ;
|
||||
console.log("cookies after:",cookie.load('notice_stage')) ;
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue