dev_forum
hjm 5 years ago
parent 016f6377eb
commit 8debe9d99e

@ -120,35 +120,35 @@ class ExerciseDisplay extends Component{
return <SingleDisplay {...this.props} {...item} index={index} {...commonHandler} return <SingleDisplay {...this.props} {...item} index={index} {...commonHandler}
displayCount={exercise_questions.length} showActionButton={false} displayCount={exercise_questions.length} showActionButton={false} key={index}
></SingleDisplay> ></SingleDisplay>
} else if (item.question_type == 2) { } else if (item.question_type == 2) {
return <JudgeDisplay return <JudgeDisplay
showActionButton={false} showActionButton={false} key={index}
{...this.props} {...item} index={index} {...commonHandler} ></JudgeDisplay> {...this.props} {...item} index={index} {...commonHandler} ></JudgeDisplay>
} else if (item.question_type == 3) { } else if (item.question_type == 3) {
return <NullDisplay return <NullDisplay
showActionButton={false} showActionButton={false} key={index}
{...this.props} {...item} index={index} {...commonHandler} ></NullDisplay> {...this.props} {...item} index={index} {...commonHandler} ></NullDisplay>
} else if (item.question_type == 4) { } else if (item.question_type == 4) {
return <MainDisplay return <MainDisplay
showActionButton={false} showActionButton={false} key={index}
{...this.props} {...item} index={index} {...commonHandler} ></MainDisplay> {...this.props} {...item} index={index} {...commonHandler} ></MainDisplay>
} else if (item.question_type == 5) { } else if (item.question_type == 5) {
return <ShixunDisplay Testpapersettinghomepage return <ShixunDisplay Testpapersettinghomepage
showActionButton={false} showActionButton={false} key={index}
{...this.props} {...item} index={index} {...commonHandler} ></ShixunDisplay> {...this.props} {...item} index={index} {...commonHandler} ></ShixunDisplay>
} }

Loading…
Cancel
Save