Commit 740c97d8 by zhanghaozhe

账号登录页面

parent f8ccd957
......@@ -21,7 +21,6 @@ class AccountLogin extends PureComponent {
render() {
const loginWays = this.props.loginWays.filter(item => item.text !== '账号登录')
return (
<div className={'account-login'}>
<Header/>
......
......@@ -17,6 +17,7 @@ import wechat from './wechat.png'
class Passport extends Component {
constructor(props) {
super(props);
this.state = {
......@@ -53,9 +54,7 @@ class Passport extends Component {
/>
<Route path={match.url + '/wechat-login'}
render={props => <WechatLogin {...props} loginWays={this.state.loginWays}/>}/>
<Route path={match.url + '/account-login'} render={props => {
return <AccountLogin {...props} loginWays={this.state.loginWays}/>
}}/>
<Route path={match.url + '/account-login'} component={AccountLogin}/>
<Route path={match.url + '/forgot-password'} component={ForgotPassword}/>
<Route path={match.url + '/set-password'} component={SetPassword}/>
<Route path={match.url + '/binding-tel'} component={BindingTel}/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment