diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.js b/public/react/src/modules/paths/PathDetail/DetailTop.js
index 14342aff6..7a1e74856 100644
--- a/public/react/src/modules/paths/PathDetail/DetailTop.js
+++ b/public/react/src/modules/paths/PathDetail/DetailTop.js
@@ -321,7 +321,13 @@ class DetailTop extends Component{
{ detailInfoList.allow_send === true?this.props.courses===undefined?
:"":""
}
-
+
+ {this.props.courses===undefined?"":detailInfoList.is_creator===true?
this.OpenCoursefun()}>开课:""}
+ {detailInfoList===undefined?"":detailInfoList.allow_statistics===true?this.props.courses===undefined?"":
+ 学习统计
+ :""
+ }
+
{
@@ -335,11 +341,11 @@ class DetailTop extends Component{
{ detailInfoList.member_count!=0 ?
学习人数{detailInfoList.member_count} : ""}
}
- {this.props.courses===undefined?
+
{detailInfoList===undefined?"":detailInfoList.allow_delete===true?
删除路径:""}
+ >删除课程:""}
{
detailInfoList.publish_status===0&&detailInfoList.allow_add_member===true?
@@ -356,16 +362,9 @@ class DetailTop extends Component{
detailInfoList.publish_status===2 && detailInfoList.allow_statistics===true?
撤销发布:""
}
-
:""}
+
- {this.props.courses===undefined?"":detailInfoList.is_creator===true?
:""}
-
{this.props.courses===undefined||this.props.courses.length===0?"":
diff --git a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js
index d64763980..c576a3515 100644
--- a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js
+++ b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js
@@ -542,7 +542,7 @@ class PathDetailIndex extends Component{
{
detailInfoList===undefined?"":detailInfoList.allow_add_member===true?
{key!=0?
:""}
- {key+1!= members&&members.length?
:""}
+ {key+1== members.length?"":
}
:""
}