|
|
|
@ -1449,7 +1449,6 @@ class PollNew extends Component {
|
|
|
|
|
//object 单个数组数据
|
|
|
|
|
Deleteadddomthree = (indexo, object,bool) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
Newdisplay:false,
|
|
|
|
|
newoption: false,
|
|
|
|
|
})
|
|
|
|
|
// console.log("deleteadddom 349")
|
|
|
|
@ -2029,6 +2028,9 @@ class PollNew extends Component {
|
|
|
|
|
if (result !== undefined) {
|
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
|
this.props.showNotification(`已完成`);
|
|
|
|
|
this.setState({
|
|
|
|
|
Newdisplay:false,
|
|
|
|
|
})
|
|
|
|
|
thiss.thisinitializationdatanew();
|
|
|
|
|
// console.log("确认创建问题")
|
|
|
|
|
// console.log(result)
|
|
|
|
@ -2104,6 +2106,9 @@ class PollNew extends Component {
|
|
|
|
|
try {
|
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
|
this.props.showNotification(`编辑题目成功`);
|
|
|
|
|
this.setState({
|
|
|
|
|
Newdisplay:false,
|
|
|
|
|
})
|
|
|
|
|
thiss.thisinitializationdatanew();
|
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|