Commit a09ed8c3 authored by michael's avatar michael Committed by 陈帅

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

parent 01fc86de
......@@ -43,7 +43,7 @@ class HeaderView extends PureComponent {
};
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;
dispatch({
type: 'global/clearNotices',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment