|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import React, { PureComponent } from 'react'; |
|
|
|
import { formatMessage } from 'umi/locale'; |
|
|
|
import { Popover, Icon, Tabs, Badge, Spin } from 'antd'; |
|
|
|
import classNames from 'classnames'; |
|
|
|
import List from './NoticeList'; |
|
|
|
@ -17,8 +16,8 @@ export default class NoticeIcon extends PureComponent { |
|
|
|
onClear: () => {}, |
|
|
|
loading: false, |
|
|
|
locale: { |
|
|
|
emptyText: formatMessage({ id: 'component.noticeIcon.empty' }), |
|
|
|
clear: formatMessage({ id: 'component.noticeIcon.clear' }), |
|
|
|
emptyText: 'No notifications', |
|
|
|
clear: 'Clear', |
|
|
|
}, |
|
|
|
emptyImage: 'https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk.svg', |
|
|
|
}; |
|
|
|
|