修改样式

dev_aliyun_beta
杨树林 6 years ago
parent 961531f604
commit 49f3d7caee

@ -539,14 +539,19 @@ class PollNewQuestbank extends Component {
} }
answers.push(answerstwo); answers.push(answerstwo);
} }
if(anserbool===false){ try {
let answersysltwo = { if(anserbool===false){
"answer_id": parseInt(object.question.answers[object.question.answers.length-1].answer_id)+1, let answersysltwo = {
"answer_position": parseInt(object.question.answers[object.question.answers.length-1].answer_position)+1, "answer_id": parseInt(object.question.answers[object.question.answers.length-1].answer_id)+1,
"answer_text": "其他" "answer_position": parseInt(object.question.answers[object.question.answers.length-1].answer_position)+1,
"answer_text": "其他"
}
answers.push(answersysltwo);
} }
answers.push(answersysltwo); }catch (e) {
} }
questiontwo = { questiontwo = {
"id": object.question.id, "id": object.question.id,
"is_necessary": object.question.is_necessary, "is_necessary": object.question.is_necessary,

Loading…
Cancel
Save