dev_auth
杨树林 5 years ago
parent 7ceca2da75
commit 057f7fe2a8

@ -485,11 +485,6 @@ class Registration extends React.Component {
this.props.showLoginDialog()
return
}
if (this.props.checkIfProfileCompleted() === false) {
this.props.showProfileCompleteDialog()
return
}
if (this.props.user.is_teacher === true) {
@ -577,10 +572,6 @@ class Registration extends React.Component {
this.props.showLoginDialog()
return
}
if (this.props.checkIfProfileCompleted() === false) {
this.props.showProfileCompleteDialog()
return
}
@ -772,6 +763,12 @@ class Registration extends React.Component {
// /competitions/:identifier/competition_teams.json
Personalregistration = () => {
let {teacher_staff, member_staff, data, enroll_ended, enrolled} = this.state;
if (this.props.checkIfLogin() === false) {
this.props.showLoginDialog();
return
}
if (enroll_ended === true) {
//已截止
this.props.showNotification(`报名已截止`);

Loading…
Cancel
Save