|
@@ -79,7 +79,8 @@ export default {
|
|
|
return true;
|
|
|
},
|
|
|
getData() {
|
|
|
- let data = { ...this.question };
|
|
|
+ let data = { ...this.question, subQuestions: [] };
|
|
|
+ if (!this.$refs.QuestionEditDetail) return;
|
|
|
data.subQuestions = this.$refs.QuestionEditDetail.map((compInst) =>
|
|
|
compInst.getData()
|
|
|
);
|