Browse Source

修复顶部清空通知/消息/待办后提示国际化不完整 (#2457)

pull/2462/head
michael 8 years ago
committed by 陈帅
parent
commit
a09ed8c3af
  1. 2
      src/layouts/Header.js

2
src/layouts/Header.js

@ -43,7 +43,7 @@ class HeaderView extends PureComponent {
}; };
handleNoticeClear = type => { handleNoticeClear = type => {
message.success(`${formatMessage({ id: 'component.noticeIcon.cleared' })} ${type}`); message.success(`${formatMessage({ id: 'component.noticeIcon.cleared' })} ${formatMessage({ id: `component.globalHeader.${type}` })}`);
const { dispatch } = this.props; const { dispatch } = this.props;
dispatch({ dispatch({
type: 'global/clearNotices', type: 'global/clearNotices',

Loading…
Cancel
Save