Commit f8ccd957 by zhanghaozhe

账号登录页面

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