修改样式

dev_aliyun_beta
杨树林 5 years ago
parent 8408faee7c
commit fc27a073be

@ -854,19 +854,7 @@ class PollNewQuestbank extends Component {
//保存并继续,即提交本题的新建并继续创建一个相同的题(该新题处于编辑模式,题目和选项不要清空)
Deleteadddomtwo = (indexo, object, bool) => {
var thiss = this;
if (bool === true) {
this.setState({
q_countst: 1,
bindingid: undefined,
Newdisplay: false,
})
} else {
this.setState({
q_countst: 1,
Newdisplay: false,
})
}
if (object.question.question_type === 3) {
this.HandleInputTopics(this.contentMdRef.current.getValue().trim(), indexo);
@ -1406,6 +1394,19 @@ class PollNewQuestbank extends Component {
this.state.mymainsint = this.state.mymainsint + 1;
}
if (bool === true) {
this.setState({
q_countst: 1,
bindingid: undefined,
Newdisplay: false,
})
} else {
this.setState({
q_countst: 1,
Newdisplay: false,
})
}
this.setState({
// poll_questions: newarrpoll,
adddom: newarr,
@ -1424,11 +1425,7 @@ class PollNewQuestbank extends Component {
// indexo 第几个数组
//object 单个数组数据
Deleteadddomthree = (indexo, object, bool) => {
if (bool === true) {
this.setState({
bindingid: undefined,
})
}
this.setState({
Newdisplay: false,
});
@ -1917,7 +1914,11 @@ class PollNewQuestbank extends Component {
this.state.mymainsint = this.state.mymainsint + 1;
}
if (bool === true) {
this.setState({
bindingid: undefined,
})
}
//这里更新数据
if (this.state.q_countst == 1) {
this.setState({

Loading…
Cancel
Save