From d93a792d9947120eb3883a9b0e771ba8a601cadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 6 Sep 2019 16:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/poll/PollNewQuestbank.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 ?