提交 a09ed8c3 编写于 作者: M michael 提交者: 陈帅

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册