|
|
@ -125,7 +125,6 @@ class ExerciseDisplay extends Component{
|
|
|
|
{ exercise_questions.map((item, index) => {
|
|
|
|
{ exercise_questions.map((item, index) => {
|
|
|
|
if (item.question_type == 0 || item.question_type == 1) {
|
|
|
|
if (item.question_type == 0 || item.question_type == 1) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return <SingleDisplay {...this.props} {...item} index={index} {...commonHandler} {...this.state}
|
|
|
|
return <SingleDisplay {...this.props} {...item} index={index} {...commonHandler} {...this.state}
|
|
|
|
displayCount={exercise_questions.length} showActionButton={false} key={index}
|
|
|
|
displayCount={exercise_questions.length} showActionButton={false} key={index}
|
|
|
|
></SingleDisplay>
|
|
|
|
></SingleDisplay>
|
|
|
@ -146,7 +145,7 @@ class ExerciseDisplay extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
} else if (item.question_type == 4) {
|
|
|
|
} else if (item.question_type == 4) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
return <MainDisplay
|
|
|
|
return <MainDisplay
|
|
|
|
showActionButton={false} key={index} {...this.state}
|
|
|
|
showActionButton={false} key={index} {...this.state}
|
|
|
|
{...this.props} {...item} index={index} {...commonHandler} ></MainDisplay>
|
|
|
|
{...this.props} {...item} index={index} {...commonHandler} ></MainDisplay>
|
|
|
@ -163,9 +162,10 @@ class ExerciseDisplay extends Component{
|
|
|
|
return <ShixunProgramming Testpapersettinghomepage
|
|
|
|
return <ShixunProgramming Testpapersettinghomepage
|
|
|
|
showActionButton={false} key={index} {...this.state}
|
|
|
|
showActionButton={false} key={index} {...this.state}
|
|
|
|
{...this.props} {...item} index={index} {...commonHandler} ></ShixunProgramming>
|
|
|
|
{...this.props} {...item} index={index} {...commonHandler} ></ShixunProgramming>
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
return <div></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return <div></div>
|
|
|
|
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|