소스 검색

修復点使用文档没有进行正确的跳转 (#893)

PKAQ 8 년 전
부모
커밋
f388d92540
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/components/GlobalHeader/index.js

+ 4 - 3
src/components/GlobalHeader/index.js

@@ -95,13 +95,14 @@ export default class GlobalHeader extends PureComponent {
             }}
           />
           <Tooltip title="使用文档">
-            <Link
+            <a
               target="_blank"
-              to="http://pro.ant.design/docs/getting-started"
+              href="http://pro.ant.design/docs/getting-started"
+              rel="noopener noreferrer"
               className={styles.action}
             >
               <Icon type="question-circle-o" />
-            </Link>
+            </a >
           </Tooltip>
           <NoticeIcon
             className={styles.action}