Commit 408d2fea9a7d9658e8b071361230444e28e5200f
1 parent
123e5ac1
处理报错;
Showing
1 changed file
with
1 additions
and
1 deletions
src/mobile/login/LoginMobile.js
| @@ -346,7 +346,7 @@ class LoginMobile extends React.Component { | @@ -346,7 +346,7 @@ class LoginMobile extends React.Component { | ||
| 346 | <WhiteSpace size="lg" /> | 346 | <WhiteSpace size="lg" /> |
| 347 | <WhiteSpace size="lg" /> | 347 | <WhiteSpace size="lg" /> |
| 348 | <div className={styles.loginSubmit}> | 348 | <div className={styles.loginSubmit}> |
| 349 | - <Button type="primary" onClick={this.handleLogin.bind(this)} style={{ backgroundColor: "#5e81e5" }}> | 349 | + <Button type="primary" onClick={() => { this.handleLogin(); }} style={{ backgroundColor: "#5e81e5" }}> |
| 350 | {loginTitle} | 350 | {loginTitle} |
| 351 | </Button> | 351 | </Button> |
| 352 | <Button type="primary" onClick={this.handleFaceLogin.bind(this)} style={{ backgroundColor: "#5e81e5" }}> | 352 | <Button type="primary" onClick={this.handleFaceLogin.bind(this)} style={{ backgroundColor: "#5e81e5" }}> |