feat: change some user style

This commit is contained in:
suxiaoxin 2017-07-20 18:15:45 +08:00
parent f148273f3a
commit 5e096d1e67
3 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ const loginActions = (data) => {
data: res
}
});
location.reload()
} else {
console.log('登录失败,errcode不为0');
}

View File

@ -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>

View File

@ -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;