From dc1e0363dd2d102450a6e6735820b998895af368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 20 Nov 2019 19:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/osshackathon/Osshackathon.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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: () => {