Commit f8ccd957 by zhanghaozhe

账号登录页面

parent aff2d076
......@@ -12,7 +12,6 @@ import Input from '../common/Input'
import LoginButton from '../common/LoginButton'
import PasswordInput from '../common/passwordInput'
// import VeriCodeButton from '../common/veriCodeInput'
import LoginWays from '../common/LoginWays'
class AccountLogin extends PureComponent {
......@@ -56,7 +55,6 @@ class AccountLogin extends PureComponent {
<LoginButton/>
<Link className={'forgot-password-btn'} to='/passport/forgot-password'>忘记密码</Link>
</Form>
<LoginWays loginWays={loginWays}/>
</div>
);
}
......
......@@ -49,7 +49,7 @@ class Passport extends Component {
<Switch>
<Redirect exact
from={'/passport'}
to={{...location, ...{pathname: '/passport/account-login'}}}
to={{...location, ...{pathname: '/passport/wechat-login'}}}
/>
<Route path={match.url + '/wechat-login'}
render={props => <WechatLogin {...props} loginWays={this.state.loginWays}/>}/>
......
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