Merge branches 'dev_aliyun' and 'yslcompetition' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_sync_trustie
杨树明 5 years ago
commit 7b60c0f896

@ -458,7 +458,7 @@ class Registration extends React.Component {
})
return
}
if (this.props.user.admin === true) {
if (this.props.user.is_teacher === true) {
//老师
if (this.state.teacher_staff === null) {
//禁止老师

Loading…
Cancel
Save