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

This commit is contained in:
wenbo.dong 2017-07-27 14:46:59 +08:00
commit 0808e1a618
2 changed files with 3 additions and 2 deletions

View File

@ -16,10 +16,10 @@ const MenuUser = (props) => (
"boxShadow":"0 1px 6px rgba(0, 0, 0, 0.3)"
}}
>
<Menu.Item key="0" style={{"fontSize": ".14rem"}}>
<Menu.Item key="0">
<Link to={`/user/profile/${props.uid}`} onClick={props.relieveLink}><Icon type="user"/>个人中心</Link>
</Menu.Item>
<Menu.Item key="1" style={{"fontSize": ".14rem"}}>
<Menu.Item key="1">
<a onClick={props.logout}><Icon type="logout" />退出</a>
</Menu.Item>
</Menu>

View File

@ -25,6 +25,7 @@
"copy-webpack-plugin": "^4.0.1",
"core-decorators": "^0.17.0",
"cross-request": "^1.0.1",
"eslint-loader": "^1.9.0",
"fast-sass-loader": "^1.2.5",
"fs-extra": "^3.0.1",
"json2html": "0.0.8",