fix: clear all console warnings (#192)

Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
sh1luo
2021-07-25 11:10:45 +08:00
committed by GitHub
parent c632c3c307
commit 21b4e0e51d
15 changed files with 20 additions and 17 deletions

View File

@ -111,6 +111,8 @@ class ForgetPage extends React.Component {
case "phone":
this.setState({isFixed: true, fixedContent: res.data.phone, verifyType: "phone"});
break
default:
break
}
if (this.state.isFixed) {
forms.step2.setFieldsValue({email: this.state.fixedContent})
@ -139,6 +141,8 @@ class ForgetPage extends React.Component {
}
})
break
default:
break
}
}