|
|
@ -1752,7 +1752,7 @@ class PollNew extends Component {
|
|
|
|
question = {"question": questiontwo};
|
|
|
|
question = {"question": questiontwo};
|
|
|
|
if (uuk !== -1) {
|
|
|
|
if (uuk !== -1) {
|
|
|
|
// console.log("修改")
|
|
|
|
// console.log("修改")
|
|
|
|
this.edittotheserver(object, 3, null, null, 0, 0,0);
|
|
|
|
this.edittotheserver(object, 3, null, null, 0, 0,0,0);
|
|
|
|
newarrpoll.splice(uuk, 1, question);
|
|
|
|
newarrpoll.splice(uuk, 1, question);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// console.log("删除")
|
|
|
|
// console.log("删除")
|
|
|
@ -1859,10 +1859,10 @@ class PollNew extends Component {
|
|
|
|
max_choicess = max_choices;
|
|
|
|
max_choicess = max_choices;
|
|
|
|
min_choicess = min_choices;
|
|
|
|
min_choicess = min_choices;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log("createquestionsandanswers");
|
|
|
|
// console.log("createquestionsandanswers");
|
|
|
|
console.log(max_choicess);
|
|
|
|
// console.log(max_choicess);
|
|
|
|
console.log(min_choicess);
|
|
|
|
// console.log(min_choicess);
|
|
|
|
console.log(length);
|
|
|
|
// console.log(length);
|
|
|
|
axios.put(url, {
|
|
|
|
axios.put(url, {
|
|
|
|
// debug: true,
|
|
|
|
// debug: true,
|
|
|
|
question_title: object.question.question_title,
|
|
|
|
question_title: object.question.question_title,
|
|
|
|