competitions
杨树明 5 years ago
parent a83d126ce6
commit ee01272a4b

@ -126,4 +126,8 @@
.myinput{
display: flex;
justify-content: center;
}
.startlogin{
color:#888;
}

@ -398,19 +398,32 @@ class LoginDialog extends Component {
});
}
handleDialogClose = () => {
if(this.props.isloginCancel===undefined){
window.location.href="/";
this.props.Modifyloginvalue();
// this.setState({
// isRender: false
// })
// this.props.Modifyloginvalue();
}else{
this.setState({
isRender: false
})
this.props.Modifyloginvalue();
}
// if(this.props.match.path==='/'){
// this.setState({
// isRender: false
// })
// this.props.Modifyloginvalue();
// }else{
// if(this.props.isloginCancel===undefined){
// window.location.href="/";
// this.props.Modifyloginvalue();
// // this.setState({
// // isRender: false
// // })
// // this.props.Modifyloginvalue();
// }else{
// this.setState({
// isRender: false
// })
// this.props.Modifyloginvalue();
// }
this.setState({
isRender: false
})
this.props.Modifyloginvalue();
// this.setState({
// isRender: false
// })
@ -598,6 +611,11 @@ class LoginDialog extends Component {
</p>
{/*<p className="clearfix mt20">*/}
{/*<span className={"startlogin"}>———————— 快速登录 ————————</span>*/}
{/*</p>*/}
</form>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Loading…
Cancel
Save