mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix new version Modal
This commit is contained in:
parent
b06cdd08c3
commit
a2736da2bd
@ -28,8 +28,8 @@ export default class Footer extends React.Component {
|
||||
// 大版本发布后全局弹窗提示
|
||||
// 1. 点击『知道了』之后不再提示
|
||||
// 2. 超过截止日期后不再提示
|
||||
if (localStorage.getItem('infoNewVersionSent') !== 'true' ||
|
||||
new Date().getTime() > new Date('2016/05/22').getTime()) {
|
||||
if (localStorage.getItem('infoNewVersionSent') !== 'true' &&
|
||||
new Date().getTime() < new Date('2016/05/22').getTime()) {
|
||||
this.infoNewVersion();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user