|
@@ -83,6 +83,7 @@ export default {
|
|
...mapMutations("import-edit", ["setCurQuestion"]),
|
|
...mapMutations("import-edit", ["setCurQuestion"]),
|
|
initData() {
|
|
initData() {
|
|
this.modalForm = this.$objAssign(getInitQuestionModel(), this.question);
|
|
this.modalForm = this.$objAssign(getInitQuestionModel(), this.question);
|
|
|
|
+ this.modalForm.quesAnswer = [];
|
|
const quesAnswer = this.initAnswer(this.question.quesAnswer);
|
|
const quesAnswer = this.initAnswer(this.question.quesAnswer);
|
|
|
|
|
|
if (!this.question.body || !this.question.body.sections) return;
|
|
if (!this.question.body || !this.question.body.sections) return;
|