diff --git a/public/react/src/modules/courses/shixunHomework/shixunHomework.js b/public/react/src/modules/courses/shixunHomework/shixunHomework.js index eb59ce6f1..5298baffc 100644 --- a/public/react/src/modules/courses/shixunHomework/shixunHomework.js +++ b/public/react/src/modules/courses/shixunHomework/shixunHomework.js @@ -84,7 +84,8 @@ class ShixunHomework extends Component{ } componentDidMount() { this.setState({ - isSpin:true + isSpin:true, + }) if(this.props.match.params.main_id){ this.setState({ @@ -108,7 +109,8 @@ class ShixunHomework extends Component{ } seactall=(id)=>{ this.setState({ - isSpin:true + isSpin:true, + checkBoxValues:[] }) let coursesId=this.props.match.params.coursesId; let url="/courses/"+coursesId+"/homework_commons.json?type=4"; @@ -1080,7 +1082,7 @@ class ShixunHomework extends Component{ : this.editDir(datas&&datas.category_name)} className={"mr30 font-16"}>目录重命名:""} {this.props.isAdmin()===true?datas&&datas.category_name===undefined||datas&&datas.category_name===null?选用实践课程:"":""} - {this.props.isAdmin()===true?this.showNewShixunModelType()}>选用实训:""} + {this.props.isAdmin()===true?this.showNewShixunModelType()}>选用实训项目:""}

diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js index f46d549ed..dd34d8605 100644 --- a/public/react/src/modules/login/LoginDialog.js +++ b/public/react/src/modules/login/LoginDialog.js @@ -399,12 +399,14 @@ class LoginDialog extends Component { } handleDialogClose = () => { + console.log(this.props.match) +debugger if(this.props.match===undefined){ - // window.location.href="/"; - this.setState({ - isRender: false - }) - this.props.Modifyloginvalue(); + window.location.href="/"; + // this.setState({ + // isRender: false + // }) + // this.props.Modifyloginvalue(); }else{ this.setState({ isRender: false diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js index 433146b8c..ed4cc85eb 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js +++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndAdd.js @@ -374,7 +374,7 @@ class DetailCardsEditAndAdd extends Component{

- 选择实训 + 选用实训项目 选择下面实训后,可以通过拖拽进行排序调整

diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js index 3d1559797..a37dffecb 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js +++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js @@ -378,7 +378,7 @@ class DetailCardsEditAndEdit extends Component{

- 选择实训 + 选用实训项目 选择下面实训后,可以通过拖拽进行排序调整

diff --git a/public/react/src/modules/tpm/shixunchild/Collaborators/Collaborators.js b/public/react/src/modules/tpm/shixunchild/Collaborators/Collaborators.js index 0212b4ba4..7921941df 100644 --- a/public/react/src/modules/tpm/shixunchild/Collaborators/Collaborators.js +++ b/public/react/src/modules/tpm/shixunchild/Collaborators/Collaborators.js @@ -34,7 +34,7 @@ class Collaborators extends Component { Collaboratorsvisibleadmin: false, value: 1, page: 1, - Searchadmin: [], + Searchadmin: undefined, allChangechecked: false, Collaboratorslist: [], Collaboratorslisttype: false, @@ -434,10 +434,10 @@ class Collaborators extends Component { height: '30px', lineHeight: '30px', }; - // console.log(collaboratorList) const antIcon = ; + console.log(Searchadmin) return (

    - {Searchadmin.length === 0 ?
  • + {Searchadmin === undefined ?
  • 请试试搜索一下 -
  • : Searchadmin.map((item, key) => { + :Searchadmin.length === 0 ? "": Searchadmin.map((item, key) => { return (