mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
fix: 个人中心添加hover视觉反馈
This commit is contained in:
parent
9dbfdcbaa9
commit
4deb6f3bd4
@ -15,11 +15,11 @@ import GuideBtns from '../GuideBtns/GuideBtns.js';
|
||||
|
||||
const MenuUser = (props) => (
|
||||
<Menu theme="dark" className="user-menu" >
|
||||
<Menu.Item style={{"background":"#32363a",color:"white"}} key="0">
|
||||
<Link style={{color:"white"}} to={`/user/profile/${props.uid}`} onClick={props.relieveLink}><Icon type="user"/>个人中心</Link>
|
||||
<Menu.Item key="0">
|
||||
<Link to={`/user/profile/${props.uid}`} onClick={props.relieveLink}><Icon type="user"/>个人中心</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="1">
|
||||
<a style={{color:"white"}} onClick={props.logout}><Icon type="logout" />退出</a>
|
||||
<a onClick={props.logout}><Icon type="logout" />退出</a>
|
||||
</Menu.Item>
|
||||
</Menu>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user