|
|
|
@ -36,7 +36,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
activeKey: 0,
|
|
|
|
|
classpass: "text",
|
|
|
|
|
// 登录
|
|
|
|
|
passopens: passoff,
|
|
|
|
|
passopens: passopen,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
discodeBtn: false,
|
|
|
|
|
clearInterval: false,
|
|
|
|
@ -66,7 +66,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
activeKey: '1',
|
|
|
|
|
classpass: "text",
|
|
|
|
|
// 登录
|
|
|
|
|
passopens: passoff,
|
|
|
|
|
passopens: passopen,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
discodeBtn: false,
|
|
|
|
|
clearInterval: false,
|
|
|
|
@ -251,7 +251,6 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
password: this.state.passwords,
|
|
|
|
|
code: this.state.codes,
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
console.log(result);
|
|
|
|
|
if(result){
|
|
|
|
|
this.setState({
|
|
|
|
|
logins: "",
|
|
|
|
@ -356,13 +355,13 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
console.log("显示于隐藏");
|
|
|
|
|
if (this.state.classpassbool === true) {
|
|
|
|
|
this.setState({
|
|
|
|
|
passopens: passoff,
|
|
|
|
|
passopens: passopen,
|
|
|
|
|
classpass: "text",
|
|
|
|
|
classpassbool: false,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.setState({
|
|
|
|
|
passopens: passopen,
|
|
|
|
|
passopens: passoff ,
|
|
|
|
|
classpass: "password",
|
|
|
|
|
classpassbool: true,
|
|
|
|
|
})
|
|
|
|
|