Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev

This commit is contained in:
suxiaoxin 2017-09-12 16:48:42 +08:00
commit 3f0eab8113
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ const ToolUser = (props)=> (
</Link>
<Tooltip placement="bottom" title={'使用文档'}>
<li className="toolbar-li">
<a target="_blank" href="/doc/index.html"><Icon className="dropdown-link" style={{ fontSize: 16 }} type="question-circle" /></a>
<a target="_blank" href="https://ued.qunar.com/yapi/" rel="noopener noreferrer"><Icon className="dropdown-link" style={{ fontSize: 16 }} type="question-circle" /></a>
</li>
</Tooltip>
<li className="toolbar-li">

View File

@ -22,7 +22,7 @@ const HomeGuest = () => (
<Col span={24}>
<div className="home-header">
<a href="#" className="item">YAPI</a>
<a target="_blank" href="/doc/index.html" className="item">使用文档</a>
<a target="_blank" rel="noopener noreferrer" href="https://ued.qunar.com/yapi/" className="item">使用文档</a>
</div>
</Col>
</Row>
@ -208,7 +208,7 @@ class Home extends Component {
<div className="tip-btns">
<div className="btn-group">
<Link to="/login"><Button type="primary" className="btn-home btn-login">登录 / 注册</Button></Link>
<Button className="btn-home btn-home-normal"><a target="_blank" href="/doc/index.html" >使用文档</a></Button>
<Button className="btn-home btn-home-normal"><a target="_blank" rel="noopener noreferrer" href="https://ued.qunar.com/yapi/" >使用文档</a></Button>
</div>
</div>
</div>