diff --git a/public/react/src/modules/osshackathon/Osshackathon.js b/public/react/src/modules/osshackathon/Osshackathon.js index 0e175ef04..3083db8ce 100644 --- a/public/react/src/modules/osshackathon/Osshackathon.js +++ b/public/react/src/modules/osshackathon/Osshackathon.js @@ -118,10 +118,15 @@ class Osshackathon extends Component { return } //判断是否绑定邮箱 - if(!this.props.user.email===true||!this.props.user.phone===true){ + + if(this.props.user.email===null){ this.props.showhideAccountPhoneemailDialog() + return + } + if(this.props.user.phone===null){ + this.props.showhideAccountPhoneemailDialog() + return } - this.props.confirm({ content: `是否确认报名?`, onOk: () => {