Commit b48c238c authored by asdf's avatar asdf

.

parent 96fa0ca3
...@@ -42,6 +42,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -42,6 +42,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
} }
pasteQuestion(idx) { pasteQuestion(idx) {
this.item.questionList.splice(idx + 1, 0, JSON.parse(JSON.stringify(this.copyQuestionData))); this.item.questionList.splice(idx + 1, 0, JSON.parse(JSON.stringify(this.copyQuestionData)));
this.save();
} }
addOption(questionIdx) { addOption(questionIdx) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment