diff --git a/public/react/src/modules/competition/Registration.js b/public/react/src/modules/competition/Registration.js index 02ad66ab6..cd6254981 100644 --- a/public/react/src/modules/competition/Registration.js +++ b/public/react/src/modules/competition/Registration.js @@ -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) { //禁止老师