@ -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) {
//禁止老师