@ -103,12 +103,19 @@ class ListPageIndex extends Component{
<div className="newMain clearfix">
{/*头部banner*/}
<CoursesBanner {...this.props}></CoursesBanner>
{yslGuideone===null||yslGuideone===undefined||yslGuideone===false?
(
this.props.isAdmin()===true?
<Guide
setwindowlocal={(b)=>this.setwindowlocal(b)}
>
</Guide>
:""
)
}
<div className="educontent clearfix" style={{flex: "1 0 auto"}}>
@ -2155,12 +2155,12 @@ class PollNew extends Component {
pollid = this.state.pollid;
if(mews ==="new"){
// if(mews ==="new"){
if(this.state.poll_questions&&this.state.poll_questions.length===0){
this.props.showNotification("至少创建1个题目");
return;
// }
var url = `/polls/${pollid}.json`;
axios.put(url, {