Merge remote-tracking branch 'origin/dev_aliyun' into dev_aliyun

dev_aliyun_beta
杨树明 6 years ago
commit a1177152a7

@ -1803,6 +1803,7 @@ class PollNew extends Component {
var urlly = `/polls/${poll_id}/poll_questions.json`
var max_choicess = null;
var min_choicess = null;
try {
if (max_choices === 0 && min_choices === 0) {
max_choicess = null;
min_choicess = null;
@ -1810,10 +1811,14 @@ class PollNew extends Component {
max_choicess = max_choices;
min_choicess = min_choices;
}
console.log("createquestionsandanswers");
console.log(max_choicess);
console.log(min_choicess);
console.log(length);
}catch (e) {
max_choicess = null;
min_choicess = null;
}
// console.log("createquestionsandanswers");
// console.log(max_choicess);
// console.log(min_choicess);
// console.log(length);
axios.post(urlly, {
question_title: object.question.question_title,
question_type: number,
@ -1856,6 +1861,7 @@ class PollNew extends Component {
var thiss = this;
var max_choicess = null;
var min_choicess = null;
try {
if (max_choices === 0 && min_choices === 0) {
max_choicess = null;
min_choicess = null;
@ -1863,6 +1869,11 @@ class PollNew extends Component {
max_choicess = max_choices;
min_choicess = min_choices;
}
}catch (e) {
max_choicess = null;
min_choicess = null;
}
console.log("createquestionsandanswers");
console.log(max_choicess);
console.log(min_choicess);

Loading…
Cancel
Save