Skip to content

Commit

Permalink
feat: text
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed May 7, 2022
1 parent 59314e4 commit 4f792af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/theme/template/Layout/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ class Header extends React.Component<HeaderProps, HeaderState> {
) {
Modal.info({
title: '提示',
content: '内网用户推荐访问国内镜像以获得极速体验~🚀',
okText: '前往',
content: '内网用户推荐访问国内镜像以获得极速体验~',
okText: '🚀 立刻前往',
onOk: () => {
window.open('https://ant-design.antgroup.com', '_self');
disableAntdMirrorModal();
Expand All @@ -136,6 +136,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
onCancel: () => {
disableAntdMirrorModal();
},
closable: true,
});
}
}
Expand Down

0 comments on commit 4f792af

Please sign in to comment.