forked from Gitlink/forgeplus-react
弹框样式-markdown渲染有影响
This commit is contained in:
parent
e744714da0
commit
e7a322e038
|
@ -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() + 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