diff --git a/public/react/src/modules/paths/PathDetail/DetailCards.js b/public/react/src/modules/paths/PathDetail/DetailCards.js
index 57e79ee07..3ab41338b 100644
--- a/public/react/src/modules/paths/PathDetail/DetailCards.js
+++ b/public/react/src/modules/paths/PathDetail/DetailCards.js
@@ -336,7 +336,7 @@ class DetailCards extends Component{
showparagraphindex
}=this.state;
const antIcon = ;
- // console.log("zzz"+this.props.MenuItemsindextype)
+ // console.log(this.props.current_user&&this.props.current_user.user_identity==="学生")
return(
{AccountProfiletype===true?
{
- showparagraphkey===key&&showparagraphindex===index?this.props.detailInfoList&&this.props.detailInfoList.allow_statistics===false&&this.props.courses!=undefined?"":
+ showparagraphkey===key&&showparagraphindex===index?this.props.detailInfoList&&this.props.detailInfoList.allow_statistics===false&&this.props.current_user&&this.props.current_user.user_identity==="学生"?"":
:""