调整问卷

chromesetting
杨树林 5 years ago
parent f1d14d0d9e
commit d7bfaf0968

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

Loading…
Cancel
Save