topic_bank
杨树林 6 years ago
parent d7148f8088
commit d93a792d99

@ -3249,7 +3249,7 @@ class PollNewQuestbank extends Component {
// ) // )
// "" // ""
// : // :
itemo.question.answers.length > 2 &&indext>1? itemo.question.answers.length > 2 &&indext>=1?
<span> <span>
{ {
indext > 1 ? indext > 1 ?
@ -3482,6 +3482,7 @@ class PollNewQuestbank extends Component {
</div> </div>
</div> : "") </div> : "")
: :
// 编辑
<div className="bor-bottom-greyE problemShow" > <div className="bor-bottom-greyE problemShow" >
{resultDom} {resultDom}
{this.state.Newdisplay === false ? {this.state.Newdisplay === false ?
@ -3525,8 +3526,8 @@ class PollNewQuestbank extends Component {
onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea> onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea>
} }
{itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => { {itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => {
console.log("chishiyong1"); // console.log("chishiyong1");
console.log(itemo.question.answers[itemo.question.answers.length - 1]); // console.log(itemo.question.answers[itemo.question.answers.length - 1]);
// var bools=true; // var bools=true;
// if(){ // if(){
// //
@ -3576,7 +3577,7 @@ class PollNewQuestbank extends Component {
// title="新增" placement={"bottom"}><i // title="新增" placement={"bottom"}><i
// className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a> // className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
// :"") // :"")
itemo.question.answers.length > 2 && indext>1 ? itemo.question.answers.length > 2 && indext>=1 ?
<span> <span>
{ {
indext > 1 ? indext > 1 ?

Loading…
Cancel
Save