|
|
|
@ -1032,7 +1032,7 @@ class PollNew extends Component {
|
|
|
|
|
if(object.question.max_choices){
|
|
|
|
|
if(object.question.max_choices>0){
|
|
|
|
|
if (object.question.max_choices < object.question.min_choices) {
|
|
|
|
|
this.props.showNotification(`可选的最大限制不能小于最小限制`);
|
|
|
|
|
this.props.showNotification(`可选:最小和最大限制须同时为数值或者“--"`);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1252,7 +1252,7 @@ class PollNew extends Component {
|
|
|
|
|
if(object.question.max_choices){
|
|
|
|
|
if(object.question.max_choices>0){
|
|
|
|
|
if (object.question.max_choices < object.question.min_choices) {
|
|
|
|
|
this.props.showNotification(`可选的最大限制不能小于最小限制`);
|
|
|
|
|
this.props.showNotification(`可选:最小和最大限制须同时为数值或者“--"`);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1573,7 +1573,7 @@ class PollNew extends Component {
|
|
|
|
|
if(object.question.max_choices){
|
|
|
|
|
if(object.question.max_choices>0){
|
|
|
|
|
if (object.question.max_choices < object.question.min_choices) {
|
|
|
|
|
this.props.showNotification(`可选的最大限制不能小于最小限制`);
|
|
|
|
|
this.props.showNotification(`可选:最小和最大限制须同时为数值或者“--"`);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1784,7 +1784,7 @@ class PollNew extends Component {
|
|
|
|
|
if(object.question.max_choices){
|
|
|
|
|
if(object.question.max_choices>0){
|
|
|
|
|
if (object.question.max_choices < object.question.min_choices) {
|
|
|
|
|
this.props.showNotification(`可选的最大限制不能小于最小限制`);
|
|
|
|
|
this.props.showNotification(`可选:最小和最大限制须同时为数值或者“--"`);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|