diff --git a/public/react/public/css/edu-all.css b/public/react/public/css/edu-all.css index 97b5d753a..b57d4db42 100644 --- a/public/react/public/css/edu-all.css +++ b/public/react/public/css/edu-all.css @@ -3443,4 +3443,8 @@ a.singlepublishtwo{ .ant-tooltip{ max-width: 100% !important; +} + +.square-main p{ + margin-bottom: 0 !important; } \ No newline at end of file diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js index 49b1891ef..e9770e969 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js +++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js @@ -242,7 +242,7 @@ class DetailCardsEditAndAdd extends Component{ //保存 clickShixunsaves=()=>{ - debugger + let{stage_names,stage_descriptions,shixuns_listeditlist}=this.state; let newstage_descriptions=stage_descriptions; diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.js b/public/react/src/modules/paths/PathDetail/DetailTop.js index c0b969543..d530319ff 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.js +++ b/public/react/src/modules/paths/PathDetail/DetailTop.js @@ -200,7 +200,8 @@ class DetailTop extends Component{ }) this.setState({ MenuItemskey:keys, - courseslist:courseslist + courseslist:courseslist, + onVisibleChangestype:!this.state.onVisibleChangestype }) } diff --git a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js index edac5ca01..5d63d5cf8 100644 --- a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js +++ b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js @@ -203,32 +203,9 @@ class PathDetailIndex extends Component{ } updatadetailInfoList=()=>{ - let pathid=this.props.match.params.pathId; - let url="/paths/"+pathid+".json"; - axios.get(url).then((result)=>{ - // TODO 403 让后台返回status 403 比较好 - if (result.data.status == 407 || result.data.status == 401) { - debugger - return; - } - if (result.data.status === 403 ) { - debugger - // window.location.href = "/403"; - return; - } - - if(result.data.allow_visit===true){ - this.setState({ - detailInfoList:result.data, - items: getItems(result.data.members.length), - user_id:undefined, - }) - } - - }).catch((error)=>{ - console.log(error); - }) + this.getdatasindex(); } + clickNewsubscript=(val)=>{ if(val===0){ this.setState({