diff --git a/public/react/src/modules/courses/poll/PollNewQuestbank.js b/public/react/src/modules/courses/poll/PollNewQuestbank.js index 3e9be6a74..e29acfc55 100644 --- a/public/react/src/modules/courses/poll/PollNewQuestbank.js +++ b/public/react/src/modules/courses/poll/PollNewQuestbank.js @@ -3249,7 +3249,7 @@ class PollNewQuestbank extends Component { // ) // "" // : - itemo.question.answers.length > 2 &&indext>1? + itemo.question.answers.length > 2 &&indext>=1? { indext > 1 ? @@ -3482,6 +3482,7 @@ class PollNewQuestbank extends Component { : "") : + // 编辑
{resultDom} {this.state.Newdisplay === false ? @@ -3525,8 +3526,8 @@ class PollNewQuestbank extends Component { onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title} } {itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => { - console.log("chishiyong1"); - console.log(itemo.question.answers[itemo.question.answers.length - 1]); + // console.log("chishiyong1"); + // console.log(itemo.question.answers[itemo.question.answers.length - 1]); // var bools=true; // if(){ // @@ -3576,7 +3577,7 @@ class PollNewQuestbank extends Component { // title="新增" placement={"bottom"}> // :"") - itemo.question.answers.length > 2 && indext>1 ? + itemo.question.answers.length > 2 && indext>=1 ? { indext > 1 ?