mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-30 13:20:24 +08:00
feat: change some user style
This commit is contained in:
parent
f148273f3a
commit
5e096d1e67
@ -24,7 +24,6 @@ const loginActions = (data) => {
|
||||
data: res
|
||||
}
|
||||
});
|
||||
location.reload()
|
||||
} else {
|
||||
console.log('登录失败,errcode不为0');
|
||||
}
|
||||
|
@ -29,7 +29,6 @@ class User extends Component {
|
||||
<section className="user-box">
|
||||
|
||||
<LeftMenu />
|
||||
<Redirect from={this.props.match.path} to={this.props.match.path + '/list'} />
|
||||
<Route path={this.props.match.path + '/list'} component={List} />
|
||||
<Route path={this.props.match.path + '/profile/:uid'} component={Profile} />
|
||||
</section>
|
||||
|
@ -42,6 +42,7 @@
|
||||
-webkit-box-flex: 1;
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
|
||||
background: #FFF;
|
||||
border-radius:5px;
|
||||
|
Loading…
Reference in New Issue
Block a user