diff --git a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js index ae77b0cf3..ae1ed40de 100644 --- a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js +++ b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js @@ -216,9 +216,9 @@ class Bullsubdirectory extends Component{ let{description,whethertoeditysl,addonAfter,eduintits,informs,isSpinysl} =this.state; let{myname,mydescription,id}=this.props; const {getFieldDecorator} = this.props.form; - console.log("Bullsubdirectory"); - console.log(this.props.isAdmin()); - console.log(this.props.yslbool); + // console.log("Bullsubdirectory"); + // console.log(this.props.isAdmin()); + // console.log(this.props.yslbool); return(
@@ -241,7 +241,7 @@ class Bullsubdirectory extends Component{
{ - this.props.isAdmin() === true ? + this.props.isClassManagement() === true ? (this.props.yslbool===false? 编辑 @@ -256,7 +256,7 @@ class Bullsubdirectory extends Component{ { - this.props.isAdmin() === true ? + this.props.isClassManagement() === true ? (this.props.yslbool===false? 删除 diff --git a/public/react/src/modules/courses/gradinforms/Eduinforms.js b/public/react/src/modules/courses/gradinforms/Eduinforms.js index 14bcfa11a..32a7c8677 100644 --- a/public/react/src/modules/courses/gradinforms/Eduinforms.js +++ b/public/react/src/modules/courses/gradinforms/Eduinforms.js @@ -231,7 +231,7 @@ class Eduinforms extends Component{

公告栏 { - this.props.isAdmin()===true? + this.props.isClassManagement()===true? (this.state.yslbool===false?

  • this.bianji(true)}>