|
@@ -43,8 +43,7 @@ const getNoticeData = notices => {
|
|
|
color={color}
|
|
color={color}
|
|
|
style={{
|
|
style={{
|
|
|
marginRight: 0
|
|
marginRight: 0
|
|
|
- }}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }}>
|
|
|
{newNotice.extra}
|
|
{newNotice.extra}
|
|
|
</Tag>
|
|
</Tag>
|
|
|
) as any
|
|
) as any
|
|
@@ -148,8 +147,7 @@ const NoticeIconView = () => {
|
|
|
clearText="清空"
|
|
clearText="清空"
|
|
|
viewMoreText="查看更多"
|
|
viewMoreText="查看更多"
|
|
|
onViewMore={() => history.push('/hr/notification')}
|
|
onViewMore={() => history.push('/hr/notification')}
|
|
|
- clearClose
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ clearClose>
|
|
|
<NoticeIcon.Tab
|
|
<NoticeIcon.Tab
|
|
|
tabKey="notification"
|
|
tabKey="notification"
|
|
|
count={unreadMsg.notification}
|
|
count={unreadMsg.notification}
|
|
@@ -158,7 +156,7 @@ const NoticeIconView = () => {
|
|
|
emptyText="你已查看所有通知"
|
|
emptyText="你已查看所有通知"
|
|
|
showViewMore
|
|
showViewMore
|
|
|
/>
|
|
/>
|
|
|
- <NoticeIcon.Tab
|
|
|
|
|
|
|
+ {/* <NoticeIcon.Tab
|
|
|
tabKey="message"
|
|
tabKey="message"
|
|
|
count={unreadMsg.message}
|
|
count={unreadMsg.message}
|
|
|
list={noticeData.message}
|
|
list={noticeData.message}
|
|
@@ -173,7 +171,7 @@ const NoticeIconView = () => {
|
|
|
count={unreadMsg.event}
|
|
count={unreadMsg.event}
|
|
|
list={noticeData.event}
|
|
list={noticeData.event}
|
|
|
showViewMore
|
|
showViewMore
|
|
|
- />
|
|
|
|
|
|
|
+ /> */}
|
|
|
</NoticeIcon>
|
|
</NoticeIcon>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|