dev_home
daiao 5 years ago
commit db63f4ec74

@ -608,6 +608,9 @@ class Exercisesetting extends Component{
}; };
// console.log(flagPageEdit===true?polls&&polls.exercise_status===1?3:2:1) // console.log(flagPageEdit===true?polls&&polls.exercise_status===1?3:2:1)
console.log("asdasdasda");
console.log(this.props);
console.log(this.props.Commonheadofthetestpaper);
return( return(
<div> <div>
<Modals <Modals
@ -713,7 +716,7 @@ class Exercisesetting extends Component{
course_group={course_group} course_group={course_group}
flagPageEdit={flagPageEdit} flagPageEdit={flagPageEdit}
rulesCheckInfo={(info)=>this.rulesCheckInfo(info)} rulesCheckInfo={(info)=>this.rulesCheckInfo(info)}
Commonheadofthetestpaper Commonheadofthetestpaper={this.props.Commonheadofthetestpaper}
></PollDetailTabForthRules> ></PollDetailTabForthRules>
} }
</div> </div>

@ -87,7 +87,12 @@ class SiderBar extends Component {
render() { render() {
return ( return (
this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?<div className="-task-sidebar">
<div className="-task-sidebar"
style={{
display:this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?"":"none"
}}
>
<div className="gotop" tooltips="返回顶部"> <div className="gotop" tooltips="返回顶部">
<a> <a>
<i className="iconfont icon-shangjiantou color-white"></i> <i className="iconfont icon-shangjiantou color-white"></i>
@ -129,7 +134,7 @@ class SiderBar extends Component {
</a> </a>
</div> </div>
</div>:"" </div>
); );
} }
} }

Loading…
Cancel
Save