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