diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 40a38b3e8..ac39562a7 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -35,7 +35,7 @@ if (isDev) { // 老师 //ebugType="teacher"; // 学生 -//debugType="student"; +// debugType="student"; window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/public/react/src/modules/paths/PathDetail/DetailCards.js b/public/react/src/modules/paths/PathDetail/DetailCards.js index fdcbb0297..54cad02eb 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCards.js +++ b/public/react/src/modules/paths/PathDetail/DetailCards.js @@ -341,6 +341,7 @@ class DetailCards extends Component{ }=this.state; const antIcon = ; // console.log("zzz"+this.props.MenuItemsindextype) + // console.log(this.props.detailInfoList&&this.props.detailInfoList.allow_visit) return(
@@ -547,13 +548,13 @@ class DetailCards extends Component{ : } - + {key+1}-{index+1}  {line.shixun_name} { - this.props.current_user&&this.props.current_user.admin===false&&line.shixun_status==="暂未公开"? + this.props.detailInfoList&&this.props.detailInfoList.allow_visit===false&&line.shixun_status==="暂未公开"?
  • 暂未公开
  • :