|
|
|
@ -1450,7 +1450,6 @@ class PollNew extends Component {
|
|
|
|
|
//object 单个数组数据
|
|
|
|
|
Deleteadddomthree = (indexo, object,bool) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
Newdisplay:false,
|
|
|
|
|
newoption: false,
|
|
|
|
|
})
|
|
|
|
|
// console.log("deleteadddom 349")
|
|
|
|
@ -1478,6 +1477,7 @@ class PollNew extends Component {
|
|
|
|
|
}
|
|
|
|
|
if (newarr[indexo].question.question_title === "") {
|
|
|
|
|
this.props.showNotification('题目不能为空!');
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (max > 0) {
|
|
|
|
@ -2016,7 +2016,11 @@ class PollNew extends Component {
|
|
|
|
|
if (result !== undefined) {
|
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
|
this.props.showNotification(`已完成`);
|
|
|
|
|
|
|
|
|
|
thiss.thisinitializationdatanew();
|
|
|
|
|
this.setState({
|
|
|
|
|
Newdisplay:false,
|
|
|
|
|
})
|
|
|
|
|
// console.log("确认创建问题")
|
|
|
|
|
// console.log(result)
|
|
|
|
|
// try {
|
|
|
|
|