diff --git a/public/react/src/modules/competition/Registration.js b/public/react/src/modules/competition/Registration.js
index 76fc40ba8..02ad66ab6 100644
--- a/public/react/src/modules/competition/Registration.js
+++ b/public/react/src/modules/competition/Registration.js
@@ -512,7 +512,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) {
//禁止老师
@@ -793,9 +793,16 @@ class Registration extends React.Component {
{/*普通账号出现单人 战队弹框*/}
{
type === 2 || type === 3 || type === 5 ?
-
{data[0].creator.name}
+ }}>{item.creator.name}this.props.Exittheteamshow(data[0].id, false)}>删除战队
+this.props.Exittheteamshow(item.id, false)}>删除战队
this.props.Createateamedit(data[0])}>编辑战队
+this.props.Createateamedit(item)}>编辑战队
this.props.Exittheteamshow(data[0].id, false)}>删除战队
+this.props.Exittheteamshow(item.id, false)}>删除战队
this.props.Createateamedit(data[0])}>编辑战队
+this.props.Createateamedit(item)}>编辑战队
this.props.Exittheteamshow(data[0].id, false)}>退出战队
+this.props.Exittheteamshow(item.id, false)}>退出战队