diff --git a/public/react/src/modules/courses/poll/PollNewQuestbank.js b/public/react/src/modules/courses/poll/PollNewQuestbank.js index 9e5882db0..482eb6f6b 100644 --- a/public/react/src/modules/courses/poll/PollNewQuestbank.js +++ b/public/react/src/modules/courses/poll/PollNewQuestbank.js @@ -2858,7 +2858,7 @@ class PollNewQuestbank extends Component { let resultDomtwo; resultDomtwo =
- {item.question.question_number}、 + {itemo&&itemo.question&&itemo.question.question_number}、 {itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"} @@ -2951,12 +2951,12 @@ class PollNewQuestbank extends Component { { itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ? - this.Ewoption(itemo.question.id, itemo)}> : itemo.question.answers.length - 1 === indext ? - this.Ewoption(itemo.question.id, itemo)}> @@ -2965,7 +2965,7 @@ class PollNewQuestbank extends Component { } : indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ? - this.Ewoption(itemo.question.id, itemo)}> : "" @@ -3161,7 +3161,7 @@ class PollNewQuestbank extends Component { let resultDomtwo; resultDomtwo =
- {item.question.question_number}、 + {itemo&&itemo.question&&itemo.question.question_number}、 { itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ? - this.Ewoption(itemo.question.id, itemo)}> : itemo.question.answers.length - 1 === indext ? - this.Ewoption(itemo.question.id, itemo)}> @@ -3275,7 +3275,7 @@ class PollNewQuestbank extends Component { } : indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ? - this.Ewoption(itemo.question.id, itemo)}> : "" @@ -3484,7 +3484,7 @@ class PollNewQuestbank extends Component { let resultDomtwo; resultDomtwo =
- {item.question.question_number}、 + {itemo&&itemo.question&&itemo.question.question_number}、 {itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"} @@ -3571,17 +3571,17 @@ class PollNewQuestbank extends Component { this.Deleteentrys(arrid, indext, false)}> + className="iconfont icon-htmal5icon19 font-22 color-grey-c "> { itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ? - this.Ewoption(itemo.question.id, itemo)}> : itemo.question.answers.length - 1 === indext ? - this.Ewoption(itemo.question.id, itemo)}> : indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ? - this.Ewoption(itemo.question.id, itemo)}> 删除 - 编辑 + 编辑 发送